We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Strings
- Capitalize!
- Discussions
Capitalize!
Capitalize!
Sort by
recency
|
2673 Discussions
|
Please Login in order to post a comment
How we do know we need to use strip() function they don't provide any input about that
!/bin/python3
import math import os import random import re import sys
Complete the solve function below.
def solve(s): return " ".join(i.capitalize() for i in s.split(" "))
if name == 'main': fptr = open(os.environ['OUTPUT_PATH'], 'w')