Computer Science, asked by shreya5879, 11 months ago

write a python program to input integer numbers untill the user gives 0. and find out the largest among all​

no spam
best answer would be the brainliest


LuckyYadav2578: how many number you want to input?

Answers

Answered by sswaraj04
2

Answer:

x=1

inp=[]

while x!=0:

inp.append(x)

print("enter a number or 0 to exit")

x=int(input())

inp.pop(0)

print(inp)

print("maximum number of all input is",max(inp))

Explanation:

Similar questions