samedi 4 juillet 2015

Im using python 3.4.3 and get a syntax error in my if statements [on hold]

import turtle
turtleoptions = ["square", "star" , "coolstar"]
print(" welcome to **** ")
option= input("choose turtle from"+ ', '.join(map(str, turtleoptions))

if option == turtleoptions[0]:
              print("jhvjhm")

I used this as code to see why my if statements arent working when i click run i get syntax error from the colon in the if statement

Aucun commentaire:

Enregistrer un commentaire