[Python] Printing numbers in a row without using string

Discussão em 'Python' iniciado por Stack, Junho 18, 2025.

  1. Stack

    Stack Membro Participativo

    I am new to python and I was practicing my coding skills with Hacker rank. I came across a question where I have to print numbers in a series one after another without adding any new line or white space in between them and most important is I cannot use the string method to get desired output.

    For example if input is

    3

    then output should be

    123

    How can do it without string?

    Please guide me...

    Thanks in advance

    Continue reading...

Compartilhe esta Página