Created
December 21, 2016 10:40
-
-
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…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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