Re: [Tutor] Invalid syntax error in my program

2016-08-19 Thread Alan Gauld via Tutor
On 19/08/16 15:36, Kalpesh Naik wrote: > #SIMPLE CALCULATOR > while True: > n=int(input("Enter your choice:")) > a=int(input("Enter 1st value:")) > print("1st value is:",a) > b=int(input("Enter 2nd value:")) > print("2nd value is:",b) > if n==1: > c=a+b >

[Tutor] Invalid syntax error in my program

2016-08-19 Thread Kalpesh Naik
Sir/Mam i am doing python language program of simple calculator but there was some errors in my program Please solve it and also guide me #SIMPLE CALCULATOR #1-Addition #2-Subtraction #3-Division #4-Multiplication #5-Modules while True: n=int(input("Enter your choice:"))