Skip to content

[New Exercise Idea]: using sys.argv #2703

Open
@szabgab

Description

@szabgab

People coming from a GUI-only background will have a lot of fun getting used to the command-line. IMHO it would be a good idea to have them practice. I'd be happy to contribute one or more of my super-simple exercises:

https://code-maven.com/slides/python/exercise-rectangle-argv
https://code-maven.com/slides/python/exercise-calculator-argv

This might require the understanding of lists, though one could explain how to use sys.argv and forward reference to list saying "more detailed explanation will follow".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions