Jun-06-2020, 07:01 AM
(Jun-06-2020, 06:44 AM)DPaul Wrote: Your have a print statement with commas that generate blank spaces, formatting gives more control.
Perhaps you are looking for this:
print('What is {} times {}?'.format(random.randrange(1, 11),random.randrange(1, 11)))Paul
Oh, thanks for fast reply, it works great. Interesting with .format, will read and test more.