Changes

Jump to: navigation, search

OPS435 Python Lab 2

7 bytes removed, 07:22, 26 May 2017
PART 1 - Using IF Statements
print('This second print statement will also not run')
print('This print statement will run')
</source>What do you notice?<br><br>So far, you have been using only the '''Boolean values True or False''' for your IF statements. Although this can be useful, it can be more practical to state a condition to test in order to render a '''True''' or '''False''' Boolean value to be used with control flow statements (referred to as: '''Boolean Logic''').<br><br>
:#let's create an IF statement that runs under specific conditions. Issue the following code below:<source>
password = input('Please enter a secret password')
13,420
edits

Navigation menu