我正在尝试在继续我的程序之前找到密码的长度,但是python一直在告诉我,我正在尝试计算一个bool的长度:
$ perl -E'
my $class = "".[];
say $class;
my $o = bless({}, $class);
say ref($o);
'
ARRAY(0x115e360)
ARRAY(0x115e360)
回溯:
input_name = input('\nWe need you name: ')
if input_name in members:
while True:
input_pass = input('Input your password: ')
if len(input_pass == 0):
print("Can't be null!")
continue
else: break
else:
print('Sorry, your not part of the League.')
bin_1 = input('Would you like to join?')