Feb. 9, 2024, 2:50 p.m. | Cristian Fernando

DEV Community dev.to


Explica este código Python




Dificultad: Básico



## Reto #49
frutas= ["manzana", "pera", "fresa"]
frutas.extend("uva")
print(frutas)


👉 A. ['uva', 'manzana', 'pera', 'fresa']

👉 B. ['manzana', 'pera', 'fresa', ['uva']]

👉 C. ['manzana', 'pera', 'fresa', 'uva']

👉 D. ['manzana', 'pera', 'fresa', 'u', 'v', 'a']


Respuesta en el primer comentario.

beginners primer python spanish

Research Scholar (Technical Research)

@ Centre for the Governance of AI | Hybrid; Oxford, UK

HPC Engineer (x/f/m) - DACH

@ Meshcapade GmbH | Remote, Germany

Data Engineering Director-Big Data technologies (Hadoop, Spark, Hive, Kafka)

@ Visa | Bengaluru, India

Senior Data Engineer

@ Manulife | Makati City, Manulife Philippines Head Office

GDS Consulting Senior Data Scientist 2

@ EY | Taguig, PH, 1634

IT Data Analyst Team Lead

@ Rosecrance | Rockford, Illinois, United States