This is the code I have at the moment:
UserSentence = input('Enter your chosen sentence: ')
UserSentence = UserSentence.split()
print(UserSentence)
say the UserSentence
was 'life is short, stunt it'
, how would I remove the comma after .split()
? if possible.