FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-Learning-code/python/06_practice.py at main · Aakriti0109/python-Learning-code · GitHub
Aakriti0109
/
python-Learning-code
Public template
forked from
Ronit049/python-Learning-code
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-Learning-code
/
python
/
06_practice.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (19 loc) · 765 Bytes
Breadcrumbs
python-Learning-code
/
python
/
06_practice.py
Copy path
File metadata and controls
20 lines (19 loc) · 765 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# age = int(input("ENTER YOUR AGE : "))
# if(age>=18):
# print("yes")
# else:
# print("no")
#================================================================z5
num1
=
int
(
input
(
"Enter the first number : "
))
num2
=
int
(
input
(
"Enter the second number : "
))
num3
=
int
(
input
(
"Enter the third number : "
))
num4
=
int
(
input
(
"Enter the fourth number : "
))
if
num1
>
num2
and
num1
>
num3
and
num1
>
num4
:
print
(
"greatest number is : "
,
num1
)
elif
num2
>
num1
and
num2
>
num3
and
num2
>
num4
:
print
(
"greatest number is : "
,
num2
)
elif
num3
>
num1
and
num3
>
num2
and
num3
>
num4
:
print
(
"greatest number is : "
,
num3
)
else
:
print
(
"greatest number is : "
,
num4
)
#=========================================================================
Back
|
FazBrowse Home
|
New Git URL