Print number from 1 to 10 in python
View All Python Programs Method-1 (Source Code) for n in range(1,11): print(n) Output 1 2 3 4 5 6 7 8 9 10 Method-2 (Source Code) for n in range(1,11):print(n,end=”,”) Output 1,2,3,4,5,6,7,8,9,10, View All Python Programs
Print number from 1 to 10 in python Read More »