+ 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.

31st Dec 2020, 3:11 PM
OMARI FATIMA ZAHRA
OMARI FATIMA ZAHRA - avatar
4 Respostas
+ 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
31st Dec 2020, 4:01 PM
noteve
noteve - avatar
+ 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 .
31st Dec 2020, 3:54 PM
OMARI FATIMA ZAHRA
OMARI FATIMA ZAHRA - avatar
+ 2
Yes, thank you very much .
31st Dec 2020, 4:48 PM
OMARI FATIMA ZAHRA
OMARI FATIMA ZAHRA - avatar
+ 1
Sorry but can you clarify your question? What does the output looks like? Can you give some sample codes? Thank you!
31st Dec 2020, 3:39 PM
noteve
noteve - avatar