hacker rank python(Capitalize!)solution Get link Facebook X Pinterest Email Other Apps - May 20, 2019 CAPITALIZE! # Complete the solve function below. def solve(s): str= [i.strip().capitalize() for i in s.split() ] for i in str: s =s.replace(i.lower(),i) return s Compiler Message Success Input (stdin)Download hello world Expected OutputDownload Hello World Get link Facebook X Pinterest Email Other Apps Comments Unknown said… nice
Comments