Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import stdio
- place = '-'*49 + '\n'
- stdio.write(place)
- while not stdio.isEmpty():
- name = ''
- name += stdio.readString()
- name += ' '
- name += stdio.readString()
- first= stdio.readInt()
- second = stdio.readInt()
- m = first / second
- stdio.writef('| %-20s | %5d | %5d | %6.3f |\n', name, first , second, m)
- stdio.write(place)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement