+ 1

Guys, I'm new and I'm working on the second practical task on Payton (I need to make a calculator), please help me, otherwise I

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

11th Oct 2022, 1:11 PM
Кирилл Максимов
Кирилл Максимов - avatar
4 Answers
+ 5
'\n' is a new line character but 3+2=5 is number. Using string and numbers in single non-str expression is invalid in python. (3+6\n11+22) is invalid You can use print(3+6, \n, 11+22) print(3+6,11+22) print(str(3+6)+'\n'+str(11+22)) What are you trying there actually?
11th Oct 2022, 1:21 PM
Jayakrishna 🇮🇳
+ 1
Why are you printing 2 sums on separate lines with 1 print function? Why not use 2 print functions? print(3+6) print(11+22)
11th Oct 2022, 1:20 PM
Ausgrindtube
Ausgrindtube - avatar
+ 1
thank you very much for your help
11th Oct 2022, 1:34 PM
Кирилл Максимов
Кирилл Максимов - avatar
+ 1
change the language tag to python # never knew payton has a search history ^⁠_⁠^ # pip install payton # 🔎
11th Oct 2022, 2:32 PM
Daljeet Singh
Daljeet Singh - avatar