i have a piece of code that just prints a username from a json list and a password is randomly generated
print ('sending username %s and password %s' % username, password)
But i get the following error:
print ('sending username %s and password %s' % username, password)
TypeError: not enough arguments for format string