Mode Gelap

Recent in Fashion

Best Seller Books

Multiplication Table

  • Problem Description

    Write a python program to print the table of a given number 

    Print the multiplication till 10.
  • CODING ARENA
  • n=int(input())
    for i in range(1,11):
        print(n,"x",i,"=",n*i)
  • Test Case 1

    Input (stdin)
    7

    Expected Output
    7 x 1 = 7

    7 x 2 = 14

    7 x 3 = 21

    7 x 4 = 28

    7 x 5 = 35

    7 x 6 = 42

    7 x 7 = 49

    7 x 8 = 56

    7 x 9 = 63

    7 x 10 = 70
  • Test Case 2

    Input (stdin)
    17

    Expected Output
    17 x 1 = 17

    17 x 2 = 34

    17 x 3 = 51

    17 x 4 = 68

    17 x 5 = 85

    17 x 6 = 102

    17 x 7 = 119

    17 x 8 = 136

    17 x 9 = 153

    17 x 10 = 170

Subscribe Our Newsletter

avatar
"By speaking behind my back, it means that you respect my existence enough not to act in front of my face."

Related Posts

0 Comment

Post a Comment

Article Top Ads

Parallax Ads

Article Center Ads

Article Bottom Ads