You are viewing a single comment's thread from:

RE: [Python Tips] Type Annotation

in #programming7 years ago

Ohhh okay cool this is good, I'm a Python n00b so I had no idea about the difference in syntax between 3.5 and 3.6.

I was using Intellij for awhile but I think I broke it and somehow Pycharm was giving me issues as well so now I just use IDLE and so far it's been pretty great.

I tried rocking your example in that and it worked perfectly
(well, except for the missing = after str heh 😅 ):

TypeAnnotation.JPG

Thanks for posting this, @themarkymark!
Will work my way through the rest 👍