Print 1 to 10 Problem

Print 1 to 10 Problem — ExecCode School DSA Practice

Solve the Print 1 to 10 problem on ExecCode. Free online school DSA practice in Loops. Write and run code in Java, C++, Python — no signup required to run.

Problem description

You are given the input needed to solve Print 1 to 10. Your task is to solve Print 1 to 10. Start from 1 and go up to 10. Print each number on the same line with a space between them.

Examples

Input ; Output 1 2 3 4 5 6 7 8 9 10. Input ; Output 1 2 3 4 5 6 7 8 9 10

Constraints

None.

Practice Print 1 to 10 free on ExecCode. Browse DSA problems, topic map, and placement guides.