#20 : String Validators | Hackerrank Python Solution

preview_player
Показать описание
Thanks if u r Watching us....
#Python #Dev19 #HackerankSolutions #C #C++ #Java #Python #C
Please Subscribe Us ....
Рекомендации по теме
Комментарии
Автор

pls Teach us in English. it will be helpful. Thank you

trilochankarunya
Автор

next code
thickness = int(raw_input()) #This must be an odd number
c = 'H'

#Top Cone
for i in range(thickness):
print

#Top Pillars
for i in range(thickness+1):
print

#Middle Belt
for i in range((thickness+1)/2):
print

#Bottom Pillars
for i in range(thickness+1):
print

#Bottom Cone
for i in range(thickness):
print

sourabhlodhi
Автор

as i understand, you're executing 5 for-loops, right?

immythic
Автор

bro its not working for this #$%@^&*input

ajaswanth
Автор

a=b=c=d=e=0
for i in s:
if i.isalnum():a+=1
if i.isalpha():b+=1
if i.isdigit():c+=1
if i.islower():d+=1
if i.isupper():e+=1
for i in [a, b, c, d, e]:
if i>0:print(True)
else:print(False)

orlando_kawaii
Автор

This is not the correct answer
This is not satisfying conditions
This answer just fooling hacker rank

rohitreddy
welcome to shbcf.ru