Cerca

Heus ací els resultats de la cerca.

Modulo 2 (intermedio): Cadenas
20 Resultats, Darrera modificació:
el programa: <code python> # Indexando cadenas. the_string = 'silly walks' for ix in range(len(the_string)): print(the_string[ix], end=' ') print() </code> Ten cuidado, no intentes pasar los lími... <code python> # Iterando a través de una cadena. the_string = 'silly walks' for character in the_stri
Módulo 2 (Intermedio): Excepciones
2 Resultats, Darrera modificació:
stra una forma extravagante # de dejar el bucle. the_list = [1, 2, 3, 4, 5] ix = 0 do_it = True while do_it: try: print(the_list[ix]) ix += 1 except IndexError: