You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree that they are more readable. Might it be best to demonstrate all ways of formatting a string and highlighting the pros and cons of each method? I'm thinking that if a learner comes across some code using one of the older formatting methods they might not understand what that method is doing.
I think the lesson would benefit from switching to f-strings for
print
statements. E.g., the line here:would become:
f-strings are typically more readable and easier to work with than other printing options.
The text was updated successfully, but these errors were encountered: