Skip to content

Instantly share code, notes, and snippets.

@dezostus
dezostus / CharacterInput.py
Created October 8, 2018 12:21
PRACTICE PYTHON, Character Input
import datetime
name = input('your name: ')
age = int(input('current age: '))
num = int(input('any number: '))
now = datetime.datetime.now()
future = now.year - age + 100
print('Name ', name)
print('You will be 100 year old in ', future, 'year')
for n in range(1,num+1):