Sesiones de PyR
lists
0 Votos
1 RespuestaInput type range...
1 Voto
2 Respuestashelp
0 Votos
1 Respuestahow
0 Votos
3 RespuestasWhat is my mistake?
0 Votos
1 RespuestaList index out of range?
0 Votos
3 RespuestasWhy 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 Voto
3 RespuestasLooping
1 Voto
1 Respuestacan 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 Voto
2 RespuestasEn tendencia hoy
New code
1 Votes
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Kernel in Jupyter
2 Votes
📝CHALLENGE [ EASY ]👀: Python
1 Votes