how do you use multiple %s in a python output?
TEXT = 'Hi, your first name is %s' %Fname
This works fine but...
TEXT = 'Hi, your first name is %s and your last name is %s' %Fname %Lname
I get the error
TypeError: not enough arguments for format string
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With