- 1
Hw to add a number to the loop
4 odpowiedzi
+ 4
since you are taking 5 input I won't advice you to create 5 variables for that, you should probably use list which can hold 5 values, then add the values together using a loop
for i in list
then take each values and add em together, and check the for loop tutorial on SoloLearn
+ 1
which loop???
+ 1
For example lets say a question says create a puthon program that accepts five interger numbers as input from the user..the program shuld then add five numbers and print the sum as output wth the massage " the sum of the five integer values is "
0
I've been tryng to tackle this question for the whole day😢