@HarshPancake/

TiesengaMod.py

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
#written by Troy Tiesenga
#this module checks for numbers divisible by 2
#last Modified 5/23/19
while True:
 user = float(input('Name a number divisible by 2: ')) 
 if user%2 >= 1:
  print('Did you even pass 2nd grade? ')
  user = float(input('Okay, lets\'s try that again. Think harder & enter a number that is actualy divisible by 2: '))
 if user%2 == 0:
  print('Thank Goodness you got it!')
  break