print("-------------------------------------------------------------------") number = int(input("Enter a number to see its times-table")) print(f"\ntimes-table for {number}:\n") for i in range(1,11): result= number * i print(f"{number} x {i} = {result}")