LU05.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(f'Greater number is: {number1}')
    elif number2 > number1:
        print(f'Greater number is: {number2}')
    else:
        print('The numbers are equal!')
 
 
if __name__ == '__main__':
    main()

Kevin Maurizi, Marcel Suter

  • modul/m319/learningunits/lu05/loesungen/largerthanequalto.txt
  • Last modified: 2023/11/13 08:56
  • by 127.0.0.1