Skip to main content
se añadieron 44 caracteres en el cuerpo
Origen Enlace
Patricio Moracho
  • 61.1k
  • 12
  • 42
  • 72

import random

random = ["Q1", "Q2", "Q3", "Q4", "Q5"]

for item in range(1,5):

chosen=(random.choice(random))

main_var.remove(chosen)

print(chosen)

import random

random = ["Q1", "Q2", "Q3", "Q4", "Q5"]

for item in range(1,5):

chosen=(random.choice(random))

main_var.remove(chosen)

print(chosen)

import random

random = ["Q1", "Q2", "Q3", "Q4", "Q5"]

for item in range(1,5):

chosen=(random.choice(random))

main_var.remove(chosen)

print(chosen)

import random

random = ["Q1", "Q2", "Q3", "Q4", "Q5"]

for item in range(1,5):

chosen=(random.choice(random))

main_var.remove(chosen)

print(chosen)
Origen Enlace
uri
  • 1
  • 1
  • 3

Porque me da el error : expected an indent block

import random

random = ["Q1", "Q2", "Q3", "Q4", "Q5"]

for item in range(1,5):

chosen=(random.choice(random))

main_var.remove(chosen)

print(chosen)