Answer to Question #310861 in Python for Fe 1

Question #310861

Greatest among four numbers




Input



5



3



7



2

1
Expert's answer
2022-03-13T15:10:58-0400
s = (str(input("Enter few numbers separated by SPACE: "))).split(" ")
nums=[]
for r in range(0,len(s)):
    nums.append(int(s[r]))


MaxNum = max(nums)
print("Max Number is: ",MaxNum)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS