mardi 20 février 2018

python If statement not working with no syntax error

calc = input("Please enter 1 to calculate GPA and 2 to calculate CGPA :")
if calc == 1:
   print("Hello")

I don't understand what's wrong with the code

Aucun commentaire:

Enregistrer un commentaire