Skip to content

Instantly share code, notes, and snippets.

@matinict
Created December 21, 2016 10:40
Show Gist options
  • Save matinict/aafb8ec7fa7442e084f01ad434475f5c to your computer and use it in GitHub Desktop.
Save matinict/aafb8ec7fa7442e084f01ad434475f5c to your computer and use it in GitHub Desktop.
Calibrating the exercises to the audience is going to be a challenging task, so I ask you to bear with me if the exercises are too easy or too hard. Every week there will be a poll you can click on to discuss whether the exercise is too easy or too hard and hopefully in a few weeks, I’ll get the level right. Let’s get to it! I will start with th…
def charInput():
import time
name = input("What is your Name: ")
age = int(input("How old are your: "))
year =str((int(time.strftime("%Y"))-age)+100)
print(name + " will be 100 years old in the year " + year)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment