Python Day 5: Loops
Given an integer,n , print its first 10 multiples. Each multiple n x i (where 1<= i <= 10) should be printed on a new line in the form: n x i = result.
if __name__ == '__main__':
n = int(input())
for i in range(1, 11):
print(n, 'x', i, '=', n*i)
Please click on the like button if it worked
Solution not working or have any suggestions? Please send an email to [email protected]
donate a cup of tea :)
Join Our Facebook Group
Popular HackerRank Python Solutions
Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more.
Sign Up for our weekly newsletter to get update about new content.