Application form to attend the web summit closes tomorrow. Get the form at https://docs.google.com/forms/d/1Gdmil6cjSWYuPTYUU2K8PpoBeFALBk3R73RdwqLAfoU/viewform
Started python programming this week. Practice this code to catch up. Looked at string and integer conversions, print command, input, randrange, variables and if statements.
s = input("Will I continue?") while s != "stop": age = int(input("What age are you?")) if(age > 40 ): print("You're ancient") elif (age > 15): print ("you are older than me") elif(age ==15): print ("Same age") else: print ("Baby") s = input("Will I continue?") |
AuthorThis blog is written by Jacqueline Humphries, Mentor, and Ninjas of Thurles Coder Dojo. The website was developed by Nancy Cox, one of our members. We meet most Wednesdays in LIT Thurles Campus from 4pm to 5:30pm. Archives
September 2015
Categories |