- 1
Code needed
Im trying to make a code that can infinitely add numbers with an input like so to add them Ex: 1 1 1 Output: 3 So, after each number you add you skip a line I would prefer this code to be in python
18 odpowiedzi
0
Well im not very good at python and im sure there is a way to add it without having multiple variables
0
This is my calculator
0
Its the best i have but i dont like a much shorter way
0
'But i would like a much shorter way'
0
Thanks ill try it
0
https://code.sololearn.com/cRfmKDBp8Gdy/?ref=app
This is what ive got so far but i dont get why the it wont cause it works on my calculator
0
Can you explain to me how to do that please?
0
I think thats what i need
0
Thats good but ud like to input it so you skip a line after each number and it adds for you
0
Id
0
Im trying to make it so it adds the numbers for you automatically in the code but on mine doesn't work