Find the largest of the four numbers entered on the keyboard. program

(Solution provided in Python 3.6.4 programming language)
To begin with, let’s create four variables a, b, c and d, the values of which will be entered by the user from the keyboard.

Next, we compare the values of these variables with each other using the if condition and display the element with the largest value.

a = int (input ())
b = int (input ())
c = int (input ())
d = int (input ())
if a> b and a> c and a> d:
print (a)
if b> a and b> c and b> d:
print (b)
if c> a and c> b and c> d:
print (c)
if d> a and d> b and a> c:
print (d)



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.