Untitled
import random def draw_name(): names = ['Alice', 'Bob', 'Charlie', 'Diana', 'Ethan'] selected_name = random.choice(names) print(f'The selected name is: {selected_name}') draw_name()
Leave a Comment
import random def draw_name(): names = ['Alice', 'Bob', 'Charlie', 'Diana', 'Ethan'] selected_name = random.choice(names) print(f'The selected name is: {selected_name}') draw_name()