fork download
  1. x=float(input())
  2. min=x
  3. while x!=0:
  4. if x<min:
  5. min=x
  6. x=float(input())
  7. print(min)
Success #stdin #stdout 0.08s 14148KB
stdin
2
3
4
0
stdout
2.0