Understanding f-strings in Python