Created
March 19, 2024 16:09
-
-
Save MahraibFatima/d48416b9037ac43964f2c460e009867d to your computer and use it in GitHub Desktop.
Print the multiplication table for the entered number.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
num = int(input("Enter a number: ")) | |
for i in range(1, 11): | |
print(f"{num} x {i} = {num * i}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment