Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

giving number of letter in python



'''for i in range(1,100,50): #it means count from 1 to 100 and increase by 50
    print(i)'''
def find_short(s):
    li = list(s.split(" "))
    sc=[]
    for i in range(0,len(li)):
        sc.append(len(li[i]))
    return min(sc)


print(find_short("bitcoin take over the world maybe who knows perhaps"))
 
PREVIOUS NEXT
Tagged: #giving #number #letter #python
ADD COMMENT
Topic
Name
9+5 =