Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 2

57 bytes added, 12:04, 25 May 2017
PART 1 - USER INPUT
:*'''Accept information from users''' that run a Python script, such as a username or password.
:*'''Process the inputted information ''' using '''Logic Statements'''.
:::This means that the program will completely change how it works based on the input given, an example would be, providing the correct password or providing the wrong password.
:*'''Process the inputted information ''' using '''Looping Statements'''.
:::Looping (iteration) is the ability for your program to repeatedly run the same code over and over. An example of this, could be found when you provide the incorrect password to a login page and it responds with, 3 attempts to login remaining.
<br><br>
== PART 1 - USER INPUT ==
This first part :In this section, you will cover learn how to prompt (ask ) the user running the program for input or data. Though we Although you will not be doing very much with immediately be using the information that the user provided currently, you will use that information later in later sections this will become a key part of lab to change how you change the way a program Python script worksunder different situations.
'''Storing User Input In Variables'''
13,420
edits