How to call a variable in a sentence?

$‘Congratulations, you’ve got ‘+ str(score) +’ points!!’

(the position of the $ doesn’t really matter)

1 Like