Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 546 Bytes

File metadata and controls

15 lines (9 loc) · 546 Bytes

Practice Python

URL = https://www.practicepython.org/exercise/2014/01/29/01-character-input.html

This repository is dedicated to exercises solution.

Exercise 1: 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.

Exercise 2: Ask the user for a number. Depending on whether the number is even or odd, print out an appropriate message to the user. Hint: how does an even / odd number react differently when divided by 2?