in

Cerca

Heus ací els resultats de la cerca.

Python iterables
12 Resultats, Darrera modificació:
, 17, 18, 19, 20] even_number_list = [num for num in my_numbers if num%2 == 0] print(even_number_list)... yield counter counter += 1 for num in even_generator(20): print(num) </code> <code python> cube = (num ** 3 for num in range(1, 6)) for c in cube: print(c) </code> == diccionario <code python> diccionario = {10:'diez
think python
9 Resultats, Darrera modificació:
: ''cadenas[1] = 'DOS' '' * búquedas: '' 'tres' in cadenas'' -> true * recorridos: * ''for i in numeros:'' * ''for i in range(len(mixta)):'' * ''range(num)'': genera progresión aritmética... uelve como lista las keys de un diccionario * **in** : * busca en las claves, devuelve cierto/fa
Python strings
5 Resultats, Darrera modificació:
(equality comparison): ==, != * Partial match: in, not in * Forward/backward match: startswith(), endswith() * Order comparison: <, <=, >, >= * C... letter “ f ”. The string itself can be formatted in much the same way that you would with str.format(... day:%B %d, %Y}") </code> Backslash Cannot be used in format string directly. <code python error> f"new
PYTHON
4 Resultats, Darrera modificació:
lake8 src # Enforce styling poetry run autopep8 --in-place --recursive src # Using pytype for type che... blob/main/Python.gitignore]] === more ==== built-in * [[development:python:aberraciones]] * [[dev... rs]] * [[https://geekflare.com/es/magic-methods-in-python/|magic methods]] * [[https://medium.co... ps://www.codegrepper.com/code-examples/python/how+to+open+mdb+file+in+python == más {{topic>python}}
Python aberraciones
2 Resultats, Darrera modificació:
, 17, 18, 19, 20] even_number_list = [num for num in my_numbers if num%2 == 0] </code> * [[info:cu... , 'you', 'look', 'nice'] ', '.join(f'[{w}]' for w in words) # '[hello], [world], [you], [look], [nice]