• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 1 fuera de 4 páginas
Examen

Python Exam Questions And Answers (Data Science) 2026 -1.

Document preview thumbnail
Vista previa 1 fuera de 4 páginas

PYTHON EXAM QUESTIONS AND ANSWERS (DATA SCIENCE) 2026 -1.

Vista previa del contenido

PYTHON EXAM QUESTIONS AND ANSWERS (DATA SCIENCE)
2026 #1

1. Which of the following data types are supported in Python? - correct answer The
following data type are *Supported*:
1 - Numbers
2 - String
3 - List
4 - Tuples
5 - Dictionary

2. Which of the following data types are *not* supported in Python? - correct answer
Slice

3. What is the output of print(str) if str = 'Hello World!'? - correct answer Hello World!

4. What is the output of print(str[0]) if str = 'Hello World!'? - correct answer H

5. What is the output of print(str[2:5]) if str = 'Hello World!'? - correct answer llo

6. What is the output of print(str[2:]) if str = 'Hello World!'? - correct answer llo World!

7. What is the output of print(str * 2) if str = 'Hello World!'? - correct answer Hello World!
Hello World!

8. What is the output of print(list) if list=[ 'abcd', 786 , 2.23]? - correct answer ['abcd', 786
, 2.23]

9. What is the output of print(list[0]) if list =[ 'abcd', 786 , 2.23]? - correct answer abcd

10. What is the output of print(list[1:3]) if list=[ 'abcd', 786 , 2.23]? - correct answer [786,
2.23]

11. What is the output of print(list[2:]) if list=[ 'abcd',786, 2.23]? - correct answer [2.23]

12. What is the output of print (tinylist * 2) if tinylist = [123, 'john']? - correct answer [123,
'john',123, 'john']

13. Which of the following is correct about tuples in Python? - correct answer ***

14. What is the output of print(mytuple) if mytuple = ('abcd',786,2.23)? - correct answer
('abcd',786,2.23)

15. What is the output of print(mytuple[1:3]) if mytuple=('abcd',786,2.23)? - correct
answer (786, 2.23)

Información del documento

Subido en
9 de febrero de 2026
Número de páginas
4
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$15.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Vendido
101
Seguidores
44
Artículos
5717
Última venta
2 semanas hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes