<filename>Scripts-python/019 Sorteando um item na lista.py
from random import choice
n1 = str(input('First student: '))
n2 = str(input('Second student: '))
n3 = str(input('Third student: '))
n4 = str(input('Fourth student: '))
lista = [n1, n2, n3, n4]
escolhido = choice(lista)
print('Chosen student {}'.format(escolhido))
<filename>Scripts-python/019 Sorteando um item na lista.py
from random import choice
n1 = str(input('First student: '))
n2 = str(input('Second student: '))
n3 = str(input('Third student: '))
n4 = str(input('Fourth student: '))
lista = [n1, n2, n3, n4]
escolhido = choice(lista)
print('Chosen student {}'.format(escolhido))