0

How do i make this a loop for 10 times?

https://code.sololearn.com/cWki0lPYuRas/?ref=app

3rd Mar 2021, 3:15 PM
Kirubaananthan Singaravalu
Kirubaananthan Singaravalu - avatar
15 Respuestas
+ 4
Kirubaananthan Singaravalu enter all ten inputs at a time required by this sololearn interpreter
4th Mar 2021, 10:48 AM
‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎Rohit
‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎Rohit - avatar
+ 3
Ahh okay... i get it. Thanks guys. Much appreciated🙏🏼
4th Mar 2021, 1:20 PM
Kirubaananthan Singaravalu
Kirubaananthan Singaravalu - avatar
+ 2
for I in range(10): .....
5th Mar 2021, 2:27 PM
Wassim Kraiem
Wassim Kraiem - avatar
+ 1
The whole code bit, or which part?
3rd Mar 2021, 3:17 PM
Mike D.
Mike D.  - avatar
+ 1
The whole code bit
3rd Mar 2021, 3:17 PM
Kirubaananthan Singaravalu
Kirubaananthan Singaravalu - avatar
+ 1
I need to input 10times and get 10 outputs
3rd Mar 2021, 3:18 PM
Kirubaananthan Singaravalu
Kirubaananthan Singaravalu - avatar
+ 1
_the_rohit_25 I dont get you... could you show me? sorry im really new to Python
4th Mar 2021, 11:56 AM
Kirubaananthan Singaravalu
Kirubaananthan Singaravalu - avatar
4th Mar 2021, 1:07 PM
‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎Rohit
‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎‎Rohit - avatar
5th Mar 2021, 12:47 PM
Miki Alex
Miki Alex - avatar
0
Hi! use a loop operator and a variable i in increments of 1 from 1 to 10 inclusive
3rd Mar 2021, 3:19 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Use a variable at 0, then a while loop until the variable reaches 10, then just add 1 to the variable at the end of the code bit so it knows it's finished running
3rd Mar 2021, 3:24 PM
Mike D.
Mike D.  - avatar
0
...using the enter button
4th Mar 2021, 10:51 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
it is difficult to show it. what he meant was that if you use a loop, when you start the program, when the pop-up window appears before entering, you will need to enter all 10 values immediately. use the input button on the keyboard to do this. the values should each go in their own row, in a column, not in a row
4th Mar 2021, 12:41 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar