n=int(input())
print("La tabla de suma es:")
for i in range(1,11):
    s=n+i
    print(n,"+",i,"=",s)
print("La tabla de producto es:")
for i in range(1,11):
    p=n*i
    print(n,"*",i,"=",p)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: