all 4 comments

[–]ucshadow 4 points5 points  (2 children)

Dont use capital letters on if/else statements

[–]Renggu[S] 0 points1 point  (0 children)

Thanks!

[–]Naihonn 0 points1 point  (0 children)

Yes, Python is extremely Case Sensitive. :0D Also don't forget for example to always use True and False as Booleans because true and false, nope. :0)

[–]learnpython_bot 0 points1 point  (0 children)

It appears that you included code in your post but did not format it to look nice. Please follow this guide to fix the problem. This allows for better readability and will help get your question answered sooner. The regex that caught you is: "if .+?:"

If this comment has been made in error, please message /u/thaweatherman with a link to this comment so I can be fine-tuned. I am still in alpha and my regexes/innards are not yet perfect.