Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
0

For some some reason this program is not working can someone help?

tyagir2392
tyagir2392

I have been working on this program for a few hours, but now it's not working. Can someone take a look at it, I probably made a mistake since this is only my second tkinter program ,with the first one being a simple calculator.

2 years ago

Comments

TopNew
1
Coder100
Coder100

image


You need a specifier, like:

' '.join(......)

correct code

def passgen(): if choice.get() == 1: return ''.join(random.sample(POOR, val.get())) if choice.get() == 1: return ''.join(random.sample(AVERAGE, val.get())) if choice.get() == 1: return ''.join(random.sample(ADVANCED, val.get()))
2 years ago
1
tyagir2392
tyagir2392

@Coder100
Thanks

2 years ago
Load more