Maximum of two numbers in Python

 num1 = float(input(f'Insert number 1: '))

num2 = float(input(f'Insert number2: '))



if num1>num2:

    print(f'Greater number is {num1}')

else:

    print(f'Greater number is {num2}')

Comments

Popular posts from this blog

Guess game!

Path for chromedriver