0

Input function error

I am building a simple calculator using python. But when I using the input function to get the arithmetic operator from the user. But Cannot get it. Print('Please type any of the following * / + -') Mthd = input() Print (Mthd) But when typing / it is giving an error parse

19th Oct 2020, 4:03 PM
Lucifer
Lucifer - avatar
1 Respuesta
+ 1
The main reason of your error is , you wrote capital P in the name of print functions. change the capital letter P to small letter p in name printf function. Print wrong. print right. https://code.sololearn.com/cB44Xvb7uPNT/#py
19th Oct 2020, 4:12 PM
The future is now thanks to science
The future is now thanks to science - avatar