Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

print 1to 10 number without using loop in python

def printno(upper):
    if(upper>0):
        printno(upper-1)
        print(upper)
upper=int(input("Enter upper limit: "))
printno(upper)
Comment

PREVIOUS NEXT
Code Example
Python :: check if two strings are anagrams python 
Python :: python profiler 
Python :: formatted string python 
Python :: python make comparison non case sensitive 
Python :: python date to timestamp 
Python :: how to play video in colab 
Python :: get title beautifulsoup 
Python :: skip to next iteration in for loop python 
Python :: create square matrix python 
Python :: how to make a distance function in python 
Python :: radix sort in python 
Python :: save model tensorflow 
Python :: python shortest distance between two points 
Python :: how to remove tkinter icon 
Python :: pandas index between time 
Python :: combination 
Python :: create a blank image opencv 
Python :: flask template split string 
Python :: python parallel processing for loop 
Python :: redis json python 
Python :: python replace only first instance 
Python :: french to english 
Python :: python delete value from dictionary 
Python :: opencv python grayscale image to color 
Python :: url settings 
Python :: pandas append csv file 
Python :: how to read numbers in csv files python 
Python :: install fasttext python 
Python :: whatsapp online tracker python script 
Python :: add time and date to datetime 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =