Unit 1 Session 2 (Click for link to problem statements)
Understand what the interviewer is asking for by using test cases and questions about the problem.
Plan the solution with appropriate visualizations and pseudocode.
General Idea: Loop from 1 to 10, and print the result of multiplying by n
each time.
⚠️ Common Mistakes
def multiplication_table(n):
for multiplicand in range(1, 11):
print(n * multiplicand)