Answers for "bucle for python"

2

for python

list1 = [1,'hello',2] #we've created a list
for element in list1:
  print(element) #we will print every element in list1
Posted by: Guest on July-25-2021
0

for python

for x in range(2, 6):

	 
	print(x)
Posted by: Guest on May-25-2021
0

for en python

animales = ['gato', 'perro', 'serpiente']
for animal in animales:
    print "El animal es: {0}, tamaño de palabra es: {1}".format(
        animal, len(animal))
Posted by: Guest on October-06-2020

Python Answers by Framework

Browse Popular Code Answers by Language