A Python's Beginner Exercise
I work on 'Think Python' and I'm having some trouble with this exercise: Python provides a built-in function called len that returns the length of a string, so the value of len(
Solution 1:
What you need here is to print space 70 times minus the length of your string, then your string.
print (' '*(70-len(s))+s)
Post a Comment for "A Python's Beginner Exercise"