I have recently started learning Python 3. I am beginner to the programming world. Please find below the code responsible for the error:
a = "I know the %d types of people." % 10
Integer = "integer"
do_not = "don't"
b = "Those type of people who know %s and those who %s" % (Integer, do_not)
print("I know: %r") % a
Is there any difference between the
I am often facing below error:
“Typeerror: unsupported operand type(s) for %: 'nonetype' and 'tuple'”.
Kindly guide me in fixing my above error?