Librería que importamos para generar aleatorios en Python.
Aleatorios y funciones

Quiz
•
Eulalio Barrón
•
Computers
•
4th Grade
•
2 plays
•
Medium
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Random
Randomize
Ran
Randrange
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Comando para generar opciones aleatorias...
Choice
Random
Randrange
Rangerand
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Escriba la línea de código para importar toda la librería que genera aleatorios...
4.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Escriba la línea de código para importar solamente la función randrange de la librería random...
5.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Escriba línea de código que genera e imprime un número aleatorio entre 10 y 20. Considerar que solo se importó la función randrange de la librería random.
6.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Escriba línea de código que genera un número aleatorio entre 10 y 20 y se asigna a la variable x. Considerar que se importó la librería random de forma general.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
x=[‘a’,’b’,’c’,’d’]
for i in range(len(x)):
print("hola")
Observa el código, ¿Cuál es el resultado?
imprime "hola" 5 veces
imprime "hola" 4 veces
imprime los valores de la lista
El código marcaría error.
Explore all questions with a free account
Similar Resources on Quizizz
14 questions
CODIGO BINARIO

Quiz
•
3rd - 5th Grade
15 questions
Fundamentos de Python

Quiz
•
4th Grade
11 questions
Estructuras de control

Quiz
•
4th Grade
9 questions
Python Conditional Statements Quiz

Quiz
•
1st - 5th Grade
13 questions
PROGRAMACION ORGANIGRAMAS

Quiz
•
4th Grade
14 questions
Lists, Subroutines and Sequence in Pseudocode - Python

Quiz
•
1st - 11th Grade
10 questions
Accesso Remoto

Quiz
•
4th Grade
10 questions
Entorno_Word

Quiz
•
1st - 4th Grade
Popular Resources on Quizizz
19 questions
Naming Polygons

Quiz
•
3rd Grade
14 questions
Prime Factorization

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
21 questions
6th Grade Math CAASPP Practice

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
35 questions
4th Grade Math SOL Review

Quiz
•
4th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade