Python help can't figure this loop | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Python help can't figure this loop

Basically directions are: Create a list of 20 numbers. Ask the user to enter numbers between 20 and 200. If they enter a number not in that range, ask them to enter another number. Then use a for or while loop to find the maximum number entered.

29th Jul 2017, 5:22 AM
Braxton Forbes
4 Réponses
2nd Aug 2017, 3:18 AM
David Ashton
David Ashton - avatar
29th Jul 2017, 6:55 AM
God Usopp
God Usopp - avatar
+ 1
@Slak this isnt cpp. you cant do list[20] nor int i = 0
1st Aug 2017, 8:38 PM
Supersebi3
Supersebi3 - avatar
0
@Supersebi3 he edited his post, the earlier version mentioned that he didn't know python but that he will give an example for OP to work with
1st Aug 2017, 8:52 PM
God Usopp
God Usopp - avatar