Created
March 19, 2024 16:08
-
-
Save MahraibFatima/212dfc8ad7a20775fa49bb3b963afb09 to your computer and use it in GitHub Desktop.
Determine and print the largest number among the three numbers entered by the user.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = float(input("Enter the first number: ")) | |
b = float(input("Enter the second number: ")) | |
c = float(input("Enter the third number: ")) | |
max_num = max(a, b, c) | |
print("Largest number:", max_num) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment