mirror of
https://github.com/c0de-archive/hacktoberfest-2018.git
synced 2024-12-22 05:12:40 +00:00
Merge pull request #321 from vakeeshanvictor/patch-4
Create large_number.py
This commit is contained in:
commit
ca45d0ca1c
11
code/vakeeshanvictor-large_number.py
Normal file
11
code/vakeeshanvictor-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