Laboratory Assignments
Week 1
Lab 1
Lab 2
Week 2
Lab 3
Week 3
Lab 4/5
Week 4
Input in Python:
- For integers use: int(input("user prompt "))
- For floats use: float(input("user prompt "))
- For strings use: input("user prompt ") and when inputing the string
you must enclose it in double or single quotes
- For formatted output use function format.
- For example, to print only 2 decimal digits of the number
1232.566777 use the
following statement:
print(format(1232.566777, '.2f'))
- For example, to print only 4 decimal digits of the number 1232.566777
use the
following statement:
print(format(1232.566777, '.4f'))
Lab 6/7
Lab
Practice
Lab
Practice
Week 5
Lab Assignment this week on Wed Sept 27
Week 5 Lab Part I
Week 6
Week 6 Lab Monday
Week 7
Week 7 Labs
Week 8
Week 8 Lab Monday
Week 8 Lab Wed
Week 9 - LOOP WHILE
Lab Part I
Lab Part II
Lab Part III
Week 10 - LOOP WHILE
SESSION A: NO CLASS AND NO LAB ON MONDAY OCT 30
SESSION B: NO LAB ON MONDAY OCT 30
Session A QUIZ AND LAB ASSIGNMENT DUE DAY MONDAY by 4 pm
Session B LAB ASSIGNMENT DUE DAY MONDAY by 4 pm
Lab Nov 20
Thanksgiving Break Homework
Thanksgiving Break
Homework
Lists in Python Practice
Practice Part 1
Practice Part 2