We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Unit 1 Session B
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.
n
def multiplication_table(n): for multiplicand in range(1, 11): print(n * multiplicand)