Posted on: 05.11.2015 21:26 |
Author: Josh Archer |
Categories: LPTHW Learn Python The Hard Way Exercise 2 LPTHW Exercise 2 Learn Python Exercise 2 LPTHW Ex 2
LPTHW - Exercise 2
Another gentle intro/recap of the first lesson.
# A comment, this is so you can read your program later # Anything after the # is ignored by python. print("I could have code like this.") # and the comment after is ignored # You can also use a comment to 'disable' or comment out a piece of code: # print "This won't run." print("This will run.") Learn Python The Hard Way Study Drills 1.
Posted on: 20.10.2015 21:18 |
Author: Josh Archer |
Categories: LPTHW Learn Python The Hard Way Exercise 1 LPTHW Exercise 1 Learn Python Exercise 1 LPTHW Ex 1
LPTHW - Exercise 1
Pretty simple introduction this, just a few print statements. Example code will be below the answers to the student questions...
# print("Hello again!") # print("I Like typing this.") # print("This is fun.") # print('Yay! Printing.') # print("I'd much rather you 'not'.") # print('I "said" do not touch this.') print "This is another line." Learn Python The Hard Way Study Drills 1. Make your script print another line.
Posted on: 09.10.2015 21:08 |
Author: Josh Archer |
Categories: LPTHW
In addition to the Odin Project I've decided to simultaneously undertake the Learn Python The Hard Way course by Zed Shaw.
Learning two things at once might sound overkill but spending 6 hours plus a day on one topic can just lead to burnout. So, with a range of things to cover, I hope to spread out the brain pain and probably learn a little faster or more deeply than I would otherwise.