Multiplication Table with for loop in VS Code

# Create a Multiplication Table of any user input number 

 n=int(input("Enter a number\n"))

for i in range(1,50):
    print(n,"*",i,"=",n*i)
print("Table of ",n,"printed")

Comments

Popular posts from this blog

4 Stage Timer With DS3231RTC Module.

Interfacing KY038 sound sensor with Raspberry pi Pico

Interfacing MQ2 Gas & Smoke Sensor With Raspberry Pi Pico