Hi,
I started solving challenges on Hackerrank using python. There is a problem I encountered. I am a beginner in coding and it would be great if someone could help me out with the code.
Problem statement:-Read an integer N and the output should be '1,2,3....N'
e.g:- If '5' is the input then output should be '1,2,3,4,5'
What I have tried:
Tried to put it into an array but the output is like [1,2,3,4,5] which isnt the desired one.