repl.it
@GeorgeIrvine_Fy/

Highest number of 3 numbers calculators

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#By george irvine-fynn (professional code dude)
antigardenman=1
#This variable is important, indeed
one=float(input("Enter the first number "))
two=float(input("Enter the second number "))
three=float(input("enter the third number "))
if one > two:
  if one < three:
    print(three,"is greater than",one,"and",two)
  if one > three:
    print(one,"is greater than",three,"and",two)
  if one == three:
    print(three,"is equal to",one,"whilst",one," is greater than",two)
if one < two:
  if two < three:
    print(three,"is greater than",one,"and",two)
  if two > three:
    print(two,"is greater than",one,"and",three)
  if two == three:
    print(three,"is equal to",two,"whilst",two," is greater than",one)
if one == two:
  if one < three:
    print(two,"is equal to",one,"whilst",three," is greater than",one,"and",two)
  if one > three:
    print((two,"is equal to",one,"whilst",three," is less than",one,"and",two))
  if one == three:
    print(two,"is equal to",one,"and",three)
name=(input("Did you like this?   "))
if name == ("yes"):
  print("Made by George Irvine-fynn. Make sure to like and subscribe and hit the bell icon for notifications ;)")
if name != ("yes"):
  print("Bug off then")