def program(x,y): #x - ciag znakow, y - litera ktorej szukamy
return x.replace(x[x.find(y)],'0')
print(program('1aaaa3abc','a'))
#Printujemy naszą funkcję z przkykładowymi inputami
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
def program(x,y): #x - ciag znakow, y - litera ktorej szukamy
return x.replace(x[x.find(y)],'0')
print(program('1aaaa3abc','a'))
#Printujemy naszą funkcję z przkykładowymi inputami