I'm making a simple lottery game.
For instance, this is a sample randomized output from my lottery:
winning_num = [1, 2, 4, 3]
Then this is the sample output from prompting the user to input 4 values:
guessed_num = ['1', '2', '4', '3']
whenever i compare them it returns me False, obviously because they're different from each other. So I want to know how to remove the (') character in the guessed_num so it would be same and possibly give me a True.
I can't simply remove the (') char, I need a function to remove them.