LU06.L02: Larger Than or Equal To

def main():
    number1 = int(input('Give the first number:\n'))
    number2 = int(input('Give the second number:\n'))
 
    if number1 > number2:
        print('Greater number is: ' + str(number1))
    elif number2 > number1:
        print('Greater number is: ' + str(number2))
    else:
        print('The numbers are equal!')
 
 
if __name__ == '__main__':
    main()
  • modul/archiv/m319python/learningunits/lu06/loesungen/largerthanequalto.txt
  • Zuletzt geändert: 2024/03/28 14:07
  • von 127.0.0.1