python - Im trying to set the maximum profiles in my list but i dont know how. And I don't know how to repeat # Access to create an account -
this line of code confusing me. tried set list maximum amount of imputs, cant work. in addition dont know how repeat #access create accout
# profile list print("how many profiles on database") profiles = input() while profiles < 100: max_profiles = [] accesap = input('would create profiel (yes or no)') # acces create account if accesap == 'yes': username = input('\nwhat want username be?') profiles.append(username.strip()) print('\nhello ' + username.title()) proidlook = input('\nwould id ' + username.title() + (' (yes or no)')) if proidlook == 'yes': print("\n" + username.title() + ' = ', str(username.index(username))) signout = input("\nnow you've created account, sign out.") if input == 'yes':
create counter count every profile created.
print("how many profiles on database") profiles = input() counter = 0 while counter < 100: max_profiles = [] counter+=1 accesap = input('would create profiel (yes or no)')
Comments
Post a Comment