Skip to content

Replace string concatenation with Python f-strings #5

@Scott3142

Description

@Scott3142

The string concatenations throughout the material that look like

print(name + "is " + str(age) " years old.")

are left over from the Java course from which this is adapted and look really smelly in Python.

This issue is here to remind me to change them to f-strings at some point when I have time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions