Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. import stdio
  2.  
  3.  
  4. place = '-'*49 + '\n'
  5. stdio.write(place)
  6. while not stdio.isEmpty():
  7. name = ''
  8. name += stdio.readString()
  9. name += ' '
  10. name += stdio.readString()
  11.  
  12. first= stdio.readInt()
  13. second = stdio.readInt()
  14. m = first / second
  15. stdio.writef('| %-20s | %5d | %5d | %6.3f |\n', name, first , second, m)
  16.  
  17. stdio.write(place)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement