repl.it
@GeorgeIrvine_Fy/

Number greater than calculator

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
one=float(input("Enter the first number "))
two=float(input("Enter the second number "))
if one > two:
  print(one, "is greater than",two)
if one < two:
  print(two, "is greater than",one)
if one == two:
  print(one, "is the same as ",two)