fork download
  1. x = float (input( "Enter yours first number:"))
  2. y = float (input( "Enter yours second number:"))
  3. z = float (input( "Enter yours third number:"))
  4.  
  5. max = x
  6.  
  7. if y > max:
  8. max = y
  9. if z > max:
  10. max = z
  11. print ("Largest number entered of the three",max)
Runtime error #stdin #stdout #stderr 0.11s 23648KB
stdin
3,4,5
stdout
Enter yours first number:
stderr
Traceback (most recent call last):
  File "./prog.py", line 1, in <module>
ValueError: could not convert string to float: '3,4,5'