Skip to content
Advertisement

for some reason the str keyword is still printing a list [closed]

JavaScript

this is my code

it is a simple passoword generator but when i run it it sometimes prints a string and sometimes a list please help i tried looking for any print commands that i left but there is only one print command at the end the code is in progress but i need help for the time being thanks in advance

####################################################################################################

Advertisement

Answer

Sometimes you are getting list so at the end you can add check for this and convert it to string check below code:

Add this code before last line of your code

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement