+ 2
How do I get one output at a time in python, for example, in normal arithmetic operations 6 + 3 = 9 and 11 + 22 = 33
How do I get one output at a time in python, for example, in normal arithmetic operations 6 + 3 = 9 and 11 + 22 = 33 but how does it appear to me each one in the outside alone in the same code.
4 ответов
+ 3
FATIMA ZAHRA When in challenges you must get the inputs first because different input means different programs.
I explained it too in an earlier thread. I hope this helps. If you have further questions, feel free to ask.
Thanks and Happy Coding.
https://www.sololearn.com/Discuss/2647499/?ref=app
+ 2
a=3
b=6
somme=a+b
print (somme )
c=11
d=22
somme=c+d
print (somme )
Output1: 9
Output2: 33
I want in outout 9 alone and 33 alone
No 9 and 33 in the same output .
+ 2
Yes, thank you very much .
+ 1
Sorry but can you clarify your question? What does the output looks like? Can you give some sample codes? Thank you!