Write a Python Program which input five numbers and display
their average
Answers
Answered by
9
Answer:
Use a input() function to accept the list elements from a user in the format of a string separated by space.
Next, Use a split() function to split a string by space and added those numbers to the list.
Next, iterate a user list using for loop and
Answered by
11
Explanation:
a:int(input("enter your first number:")
b: int ( input("enter your second number:")
c:int(input("enter your third number:")
d:int(input("enter your fourth number:")
e:int(input ("enter your Fifth number:")
print(a, b, c, d, e)
Similar questions