To start off, I just want to print the length of a hard coded string as follows:
What's wrong?
#!/usr/bin/env python3 #NestedIfStuff.py password = "dink" print(str(password.len()))But I get the error: AttributeError: 'str' object has no attribute 'len'
What's wrong?