Clarivate interview question

Write a program to print 1 to 10 without using loops