Dyskusje Q&A
lists
0 głosów
1 OdpowiedźInput type range...
1 Głos
2 odpowiedzihelp
0 głosów
1 Odpowiedźhow
0 głosów
3 odpowiedziWhat is my mistake?
0 głosów
1 OdpowiedźList index out of range?
0 głosów
3 odpowiedziWhy this code runs?:
nums = [4, 5, 6]
msg = "Numbers: {} {}". format(nums[0], nums[1], nums[2])
print(msg)
Numbers:4, 5.
Byt the code:
nums = [4, 5, 6]
msg = "Numbers: {} {} {} {}". format(nums[0], nums[1], nums[2])
print(msg)
leading to error?
IndexError: tuple index our of range
1 Głos
3 odpowiedziLooping
1 Głos
1 Odpowiedźcan someone tell me how to make it impossible for a user to type a 'userchoice1[x]' value that does not range from 1 - 10.
If you also know a way I can make the user input another value for the 'userchoice1[x]' variable if it is less than 1, I'll appreciate you share the knowledge with me.
please see the short code below
1 Głos
2 odpowiedziPopularne dzisiaj
Hi help me I am new
1 Votes
How do I solve all test cases for popsicles problem?https://www.sololearn.com/coach/3?ref=app
0 Votes
Where can I learn c#
0 Votes
Question to sololearn
1 Votes
What should i do
0 Votes
Backend Hosting Service
0 Votes
Where did mess up....
0 Votes