F&A Diskussionen
What is bug in my code (CSS)
0 Stimmen
1 AntwortInput type range...
1 Stimme
2 AntwortenPossible Explanations?
1 Stimme
1 Antworthow
0 Stimmen
3 AntwortenWhat is my mistake?
0 Stimmen
1 AntwortList index out of range?
0 Stimmen
3 AntwortenAny for loop exercises out there?
2 Stimmen
3 AntwortenThe multiple of a random number
0 Stimmen
1 AntwortWhy 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 Stimme
3 Antwortencan 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 Stimme
2 AntwortenHeute heiß
Sticky position
3 Votes
Help please?
3 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Suggestions needed
4 Votes
SQL practice
2 Votes