Home
Press ? for keyboard navigation
❮
Command line arguments - exit
Exercise: Calculator (argv)
❯
Exercise: Rectangle (argv)
Create a script called
basic2_rectangle_argv.py
Change the above script that it will accept the arguments on the command line like this:
python basic2_rectangle_argv.py 2 4
Index (i)
Table of Contents (t)
Indexed keywords (k)
Chapter TOC (d)
Hide/Show (h)