0

Someone help me fix the(indentation required)

print("choice judgements") c=input("enter your choice") d=int(c) if(d==1): print("you are good") if(d==2): print("you are very good")

18th Aug 2019, 7:24 AM
Ankush Raj
Ankush Raj - avatar
1 Answer
+ 4
Python doesn't use brackets but it still needs to know where the "if" and other statements ends. Instead of brackets, code blocks are made using tabs. print("choice judgements") c=input("enter your choice") d=int(c) if(d==1): print("you are good") if(d==2): print("you are very good") Make sure you don't mix spaces and tabs.
18th Aug 2019, 7:33 AM
Toni Isotalo
Toni Isotalo - avatar