Posts by Eric Verschoor • 23 points
1 post
-
2
votes1
answer69
viewsQ: I’m trying to use the . split() in a def and I don’t know why it’s not working someone can help me?
I’m trying to build a simple raffle script using the Tkinter library. from tkinter import * def sorteio(): from random import choice nomes = (ed1.get) splitn = nomes.split(" ") sort = choice(splitn)…