mirror of
https://github.com/c0de-archive/hacktoberfest-2018.git
synced 2024-11-01 04:07:48 +00:00
12 lines
243 B
Python
12 lines
243 B
Python
num1 = 10
|
|
num2 = 14
|
|
num3 = 12
|
|
if (num1 >= num2) and (num1 >= num3):
|
|
largest = num1
|
|
elif (num2 >= num1) and (num2 >= num3):
|
|
largest = num2
|
|
else:
|
|
largest = num3
|
|
|
|
print("The largest number between",num1,",",num2,"and",num3,"is",largest)
|