Jun-06-2020, 06:37 AM
Hello. So, I have just started learning Python and now I would like some help.
The code works but there is a space after the last random generated number, how to remove that space?
Is lstrip() something useable here?
The code works but there is a space after the last random generated number, how to remove that space?
print('What is',random.randrange(1, 11),'times',random.randrange(1, 11),'?')Example: What is 3 times 2 ?
Is lstrip() something useable here?