How to print a number 3 times from user input in python?

We can use various methods to print a number three(3) times in python

But I can prefer "For Loop" Method

Step 1: n=int(input("Please Enter any number"))

Step 2: for i in range(0,3):
                  print(n)

Or you can use "While Loop" 

Step 1: Same in the For loop

Step 2: i=0

Step 2: While(i<3):
                print(n)
                i+=1