def main():
print (" PC : Hi there.whats your name?")
userit = raw_input (" user :")
print (" Pc : Nice to meet you " ) , userit ,
userit = raw_input(" Do you like python? (A=its Great, B=its Ok, C=its Rotten)")
if userit == A:
userit = userit.upper()
print ("\n Thats good. I like it too ") ,userit ,
elif userit = B:
userit = userit.upper()
print ("\n really what ever you say ") ,userit ,
elif userit = C:
userit = userit.upper()
print ("\n Thats bad ") ,userit ,
else:
print ("\n Please enter from the Above options ") ,userit
usergame = raw_input(" whats your rating in tennis? (A=best, B=better, C=better)")
if usergame == A:
usergame = userpl.upper()
print ("\n wonderful i think you must compete federer ") ,userit ,
elif usergame = B:
usergame = userpl.upper()
print ("\n good to play with me ") ,userit ,
elif usergame = C:
usergame = userpl.upper()
print ("\n need more learn the game ") ,userit ,
else:
print ("\n Please enter from the Above options ") ,userit
userpl = raw_input(" which country do you like the most? (A=united states, B=Dubai, C=england)")
if userpl == A:
userpl = userpl.upper()
print ("\n nice place to live ") ,userit ,
elif userpl = B:
userpl = userpl.upper()
print ("\n Too expensive ") ,userit ,
elif userpl = C:
userpl = userpl.upper()
print ("\n good choice ") ,userit ,
else:
print ("\n Please enter from the Above options ") ,userit
userfood = raw_input(" what is your favorite food? (A=chinese, B=mexican, C=indian)")
if userfood == A:
userfood = userfood.upper()
print ("\n hmmm thats mouth watering") ,userit ,
elif userfood = B:
userfood = userifood.upper()
print ("\n you are into the right place ") ,userit ,
elif userfood = C:
userfood = userfood.upper()
print ("\n i think you are going to taste spicy curry ") ,userit ,
else:
print ("\n Please enter from the Above options ") ,userit
main(the error is unindent doesnot match any indentation level can some one help
Editor's note: please use code tags. something like this ...
[code=python]
your Python code here
[/code]
Make your indentations uniformly 4 spaces, you are mixing 8 spaces and 4 spaces, probably due to your text editors tab settings. Avoid using tabs!!!!