Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # string_rjust.py
- result = 'test'
- result = result.rjust(10, '0')
- print result
- ### result : '000000test'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement