I'm trying for several consecutive lines with a single string along with the .format
method, but I can not.
a=input("digite algo; ")
print("""contem maiusculos:{} contem: {}n\contem números: {} contem
alfanumericos: {}""".format(a.isupper(),a.isnumeric(),a.isalnum()))
In case, it is giving error because it is out of scope, but I have tried it in other ways, but it always ends up that I can not use the .format
method or only partially.
In this case I will still need more line, as I will use more methods than those already listed in the example.