Returning from functioning | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Returning from functioning

s = input() def hashtagGen(text): #your code goes here add=s.replace(" ","") return("#"+add) print(hashtagGen(s))

23rd Feb 2022, 4:10 AM
Bharathi R
Bharathi R - avatar
1 Answer
0
It looks good, are you asking for another thing ? (if you get an error for this, look twice at 'add' variable)
23rd Feb 2022, 5:00 AM
Ervis Meta
Ervis Meta - avatar