mirror of
https://github.com/c0de-archive/hacktoberfest-2018.git
synced 2024-11-16 01:07:26 +00:00
Create large_number.py
This commit is contained in:
parent
44f8f35445
commit
0fed627473
11
large_number.py
Normal file
11
large_number.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
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)
|
Loading…
Reference in New Issue
Block a user