Skip to content

Instantly share code, notes, and snippets.

View matinict's full-sized avatar
🎯
Focusing

Abdul Matin matinict

🎯
Focusing
View GitHub Profile
@matinict
matinict / charInput.py
Created December 21, 2016 10:40
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)