Broken Keyboard | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Broken Keyboard

Your friend sent you a message, however his keyboard is broken and types a # instead of a space. Replace all of the # characters in the given input with spaces and output the result.

26th Jul 2022, 12:08 PM
Cristiano Ronaldo
Cristiano Ronaldo - avatar
5 Answers
+ 7
Use replace func.. Like:: replace("#"," ")
26th Jul 2022, 12:13 PM
Mihir Lalwani
Mihir Lalwani - avatar
+ 9
Cristiano Ronaldo , you have done and finished almost all python tutorials, so how can you post such a basic question ???
26th Jul 2022, 3:05 PM
Lothar
Lothar - avatar
+ 7
Titus dude, we are not at PleaseDoMyHomework ;)
26th Jul 2022, 6:23 PM
Oma Falk
Oma Falk - avatar
+ 2
Lothar chill dude, we're not on stackoverflow ;)
26th Jul 2022, 3:27 PM
Titus
Titus - avatar
+ 1
thanks guys
18th Oct 2022, 1:04 PM
Cristiano Ronaldo
Cristiano Ronaldo - avatar