Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Lesson6 part b
# Object Oriented Design # Different forms of data structures length = 6 # number single = "A" # character name = "Faiha" # collection of characters list1 = [1,True,"Jim",-1213.211] # collection of objects # A list is a type of structure that can hold any type of object # A string is a type of structure that can ONLY hold characters name = "Faiha"+" Al-Qahtani"+ "1244" list2 = [False,"Faiha", 0] list3 = list1 + list2 print (name) print (list3)
run
|
edit
|
history
|
help
0
jsa
Lottorekke med statestikk
khud ki kalakari
Program of cube
f strings
Assignment-2b
75 95
Game4
HW4
Counting