Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def conversion_str(lista):
- for i in range(len(lista)): #Cuento 0 como par
- if lista[i]%2==0:
- lista[i]=str(lista[i])
- return lista
- print(conversion_str([0,1,2,3,4,5,6,7,8,9,10]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement