Last answered:

12 Jul 2021

Posted on:

30 May 2021

0

Following snippet is not working

a = int(input('Enter a number between 1 and 50\t'))
for i in range(1,11):
    print(a,'X',i,'=', a*i)

For the following snippet, I am getting the output but the only error I get is, the first line output is:      X 1 = 5.
5 is not getting printed.

1 answers ( 0 marked as helpful)
Instructor
Posted on:

12 Jul 2021

0

Hi Archisman!
Great to have you in the course and thanks for reaching out!
Can you please support your question with a screenshot containing the troubles you’ve encountered? This can help us assist you better. Thank you.
Looking forward to your answer.
Best,
Ivan

Submit an answer