Skip to content

Instantly share code, notes, and snippets.

View cauesooouza's full-sized avatar
🎯
Focusing

Cauê Souza cauesooouza

🎯
Focusing
  • Santos, São paulo, Brasil
  • 10:36 (UTC -03:00)
  • LinkedIn in/cauesooouza
View GitHub Profile
@cauesooouza
cauesooouza / Character-Input.py
Created October 13, 2021 19:33
Practice Python - Exercise 01 - Character Input
#Create a program that asks the user to enter their name and their age. Print out a message addressed to them that tells them the year that they will turn 100 years old.
#Extras:
#Add on to the previous program by asking the user for another number and printing out that many copies of the previous message. (Hint: order of operations exists in Python)
#Print out that many copies of the previous message on separate lines. (Hint: the string "\n is the same as pressing the ENTER button)
#first import 'datetime' to discover the current year
import datetime
def reaching_hundred():
#we will took the name from user