+ 1
Problem in the very last practice challenge
word = input() def hashtag(word): #complete the function body print("#",word) hashtag(word) sadly this code prints # beach but not #beach which is the correct answer, can someone help me to correct this mistake?
2 Antworten
+ 2
Note the future;
the , in the printstatement produce always a space. + don‘t produce a space.
0
To get the output without space , you need to concatenate in print command rather than using comma .
https://code.sololearn.com/cw2qoNmZ1GqK/?ref=app