create account

RE: [Python Tips] Type Annotation by doryumira

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @themarkymark/python-tips-type-annotation

· @doryumira ·
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](https://steemitimages.com/DQmZx5ogJsQsLY7PrfRMi7Q2n9gVMw8rPcPiMdZ2b1rXxJK/TypeAnnotation.JPG)

Thanks for posting this, @themarkymark! 
Will work my way through the rest 👍
properties (22)
authordoryumira
permlinkre-themarkymark-python-tips-type-annotation-20180509t202711690z
categoryprogramming
json_metadata{"tags":["programming"],"users":["themarkymark"],"image":["https://steemitimages.com/DQmZx5ogJsQsLY7PrfRMi7Q2n9gVMw8rPcPiMdZ2b1rXxJK/TypeAnnotation.JPG"],"app":"steemit/0.1"}
created2018-05-09 20:27:18
last_update2018-05-09 20:27:18
depth1
children0
last_payout2018-05-16 20:27:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length606
author_reputation317,206,043,765
root_title"[Python Tips] Type Annotation"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id54,818,450
net_rshares0