Python Print Function - Hacker Rank Solution
Print Function - Hacker Rank Solution
![]() |
Python Print Function - Hacker Rank Solution |
Read an Integer N.
Without using any string methods, try to print the following.
Note that ". . . " represents the value in between.
Input Format
The first line contains an integer N.
Output Format
Output the answer as explained in the task.
Sample Input
Sample Output
Tip
You can use print function inside a map(). Can you write a 1 line code to solve the problem above?
Print Function - Hacker Rank Solution
Python 2
Python 2
Python Print Function - Hacker Rank Solution
Reviewed by Rakaa
on
September 08, 2020
Rating:
