Changes

Jump to: navigation, search

OPS245 Lab 3

1 byte removed, 15:20, 10 February 2021
m
INVESTIGATION 4: USING LOGICAL STRUCTURES IN PYTHON
=INVESTIGATION 4: USING LOGICAL STRUCTURES IN PYTHON=
Now that we have added some powerful logical structures to our python scripts, we can make our scripts much more adaptable. Just like we have done in bash, our python scripts can now responde respond to different situations by executing different code, or repeating the same code several times (e.g. keep asking the user for input until they give us something useful). In this investigation you will write a python script that will prompt a user for a directory to archive, ask them if they want the archive compressed, and (only if they do want compression) what type of compression to apply.
<ol>
572
edits

Navigation menu