Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
67 Online
Is it possible to assign multiple values to one variable? how does it works?
Still Need Help?
Join the QuestionCove community and study together with friends!
If you have a list of numbers/strings you can use a List. example: listexample = [3, 5, 6, 'taco', 'burrito'] You can access individual values in the list by using their place in the list starting from 0 (place 0: 3, place 1: 5, place 4: 'burrito') print listexample[0] would print 3 print listexample[3] would print 'taco'
thanks much
Can't find your answer?
Make a FREE account and ask your own questions, OR help others and earn volunteer hours!
Join our real-time social learning platform and learn together with your friends!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
na2006x:
1,200 employees of a company were surveyed to find out whether they were satisfied with the companyu2019s insurance policy.
bestguy:
Eye Level poem The world looms large, a towering stage, Where giants stride and stories rage.
singlelesbain15:
Thought about this poem how do you guys like it TRAPPED Depression is like a dark
willowjade:
wrote this last night lmk what you think She just wanted to feel pretty. Sure she was called pretty by her parents.
Subshilava:
Does anybody have a college poster board layout I have my material but I cannot f
3 minutes ago
5 Replies
1 Medal
27 minutes ago
9 Replies
2 Medals
2 hours ago
5 Replies
2 Medals
2 hours ago
23 Replies
5 Medals
2 days ago
0 Replies
0 Medals