Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 2

9 bytes added, 10:42, 22 January 2018
PART 1 - Using IF Statements
</ol>
<blockquote style="margin-left:35px;">{{Admon/important|style="padding-left:25px"|Number of Arguments with len(sys.argv)|If you are calling the '''len()''' function with the '''sys.argv''' argument, the number of arguments returned will be always be at least '1'. This number will always be one higher than the actual number of arguments entered, since it also counts the script name as a argument.}}</blockquote>
''' Practice Using IF Statements'''