Signed up recently but had issues with the confirmation email?
Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.
Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.
301.5 Concatenation and Basic Strings
Practise exam questionsConcatenation and Basic Strings — Note 2 of 3
Convert before joining.
You cannot concatenate a string and a number directly. Use str() to convert the number first, or use commas in print() which adds spaces automatically.
"Score: " + 10 causes TypeError"Score: " + str(10)print("Score:", 10) works — commas auto-convertstr() to cast numbers before concatenatingscore = 95
print("Score: " + str(score))
print("Score:", score)