This file contains 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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Created on Thu Jul 27 13:09:57 2017 | |
@author: Jeff Garcia | |
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? |
This file contains 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
""" | |
Practice Python 1st Exercise | |
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. | |
""" | |
import datetime |
NewerOlder