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 | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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