python solution to Round #89 Problem B(118-B)

Revision en1, by v1sha1, 2018-08-22 13:45:43

http://codeforces.me/contest/118/problem/B

how can I remove the extra space at the end of each line in python?

I tried in two ways but both of them are producing the wrong result due to extra space at the end.

http://codeforces.me/contest/118/submission/41963079

http://codeforces.me/contest/118/submission/41929441

Tags python 3, #strings, formatting

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English v1sha1 2018-08-22 13:45:43 375 Initial revision (published)