Please help me find the error. Line 16 syntax error "elif" but I don't understand | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuesta
+ 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