Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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