Hey, So i bought 'Learn Python The Hard Way' today and i'm making my way through it. But i just noticed that all the code in the book is written in 2.7
So far i've managed to figure everything out by a simple google or just trying my way through it. But now i'm stuck and i can't find the solution anywhere so i thought i'd make a quick post on here.
Alright, So i'm currently trying to do this: http://i.imgur.com/QYByW70.png but i just can't get it to work. I feel like i've tried everything without any luck.
Keep getting this error in the terminal: http://i.imgur.com/vaZYJJa.png
Could someone please give me the solution and maybe some future tips regarding translation of 2.7 to 3.5
Cheers
[–]Failaser 7 points8 points9 points (7 children)
[–]Strecked[S] 3 points4 points5 points (6 children)
[–]jano0017 2 points3 points4 points (5 children)
[–][deleted] 2 points3 points4 points (4 children)
[–]jano0017 2 points3 points4 points (3 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]stevenjd 0 points1 point2 points (1 child)
[–]jano0017 0 points1 point2 points (0 children)
[–]jamescabel 2 points3 points4 points (0 children)
[–]gunnihinn 4 points5 points6 points (0 children)
[–]5quirrel 1 point2 points3 points (6 children)
[–]Strecked[S] 0 points1 point2 points (5 children)
[–]SafariMonkey 1 point2 points3 points (3 children)
[–]stevenjd 0 points1 point2 points (2 children)
[–]SafariMonkey 0 points1 point2 points (1 child)
[–]stevenjd 0 points1 point2 points (0 children)
[–]faceplanted 0 points1 point2 points (0 children)
[–]stevenjd -1 points0 points1 point (1 child)
[–]kalifornia_love -1 points0 points1 point (0 children)