Python tutorial #6 || Print Function - HackerRank solution

preview_player
Показать описание
Python tutorial #6 || Print Function ​- HackerRank solution

Additional Print Statement Concepts (from 3:00) : -

In this video we are going to learn python print statement, by solving HackerRank problem (Print Function). With this we can learn basic print statement in python.
This series helps you to get python certificate on hackerrank, which adds weight to your resume and helps to get placed in a good company.

---- Contents of the video -----------
0:00 - Question
0:33 - Solution In Python

Question:-

The included code stub will read an integer, n, from STDIN.
Without using any string methods, try to print the following:
123...n

Note that "..." represents the consecutive values in between.
Example
n=5
Print the string .12345

Input Format
The first line contains an integer .

Output Format
Print the list of integers from 1 through n as a string, without spaces.
Sample Input 0
3
Sample Output 0
123

#python
#hackerrank
#tutorial
#learnit
#pythonforbeginners
#hackerranksolutions
#certificate
Рекомендации по теме