here, can you please help me with this problem?:
new_password = generate_password()
print('Generated password:', new_password)
if __name__ == '__main__':
print(new_password)
here, can you please help me with this problem?:
new_password = generate_password()
print('Generated password:', new_password)
if __name__ == '__main__':
print(new_password)
can you give the link to the step?
Please talk to us about how the instructions or error message is confusing
The if
statement is correct, however it is in the wrong place.
Please copy the if
statement, reset the step to restore the orginal code, then paste it above the last two lines of code.
Indent each line below the if
statement by four spaces.
Happy coding
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.