all AI news
Ibuprofeno.py💊| #61: Explica este código Python
March 23, 2024, 3:35 p.m. | Cristian Fernando
DEV Community dev.to
Explica este código Python
Dificultad: Básico
## Reto #61
keys = "xyz"
my_dict = {}
for index, value in enumerate(keys, start=1):
my_dict[index] = value
print(my_dict)
👉 A. {1: 'xyz', 2: 'xyz', 3: 'xyz'}
👉 B. {x: '1', y: '2', z: '3'}
👉 C. {1: 'x', 2: 'y', 3: 'z'}
👉 D. {0: 'x', 1: 'y', 2: 'z'}
Respuesta en el primer comentario.
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US
Research Engineer
@ Allora Labs | Remote
Ecosystem Manager
@ Allora Labs | Remote
Founding AI Engineer, Agents
@ Occam AI | New York
AI Engineer Intern, Agents
@ Occam AI | US