Please help me find the error. Line 16 syntax error "elif" but I don't understand | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please help me find the error. Line 16 syntax error "elif" but I don't understand

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

30th Oct 2022, 6:12 PM
Qwe
Qwe - avatar
1 Answer
+ 4
All your print statements must be indented too. if what=="+": c= a+b print("Результат"+ str(с)) elif what=="-": c=a-b print("Результат"+ str(с)) else: print("Выбрана неверная операция!")
30th Oct 2022, 6:20 PM
Tibor Santa
Tibor Santa - avatar