@m314n13/

Lab 4.04 - Shopping List

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#Anderson_Joshua
#Lab 4.04
#3/28/18

#name: 
#purpose: 
#input: 
#output:
shopping_cart = [
['tooth paste', 'q-tips', 'milk'],
['milk', 'candy', 'apples'],
['planner', 'pencils', 'q-tips']
]

#name: update_list
#purpose: Takes in an integer representing the index of the shopping list, an integer representing the index of the item to update, and a string representing the new item to add to that shopping list.
#input: int 
#output: 
def update_list(update):
  a = 0
  for item in update:
    
  
  
#name: print_item
#purpose: Takes an int representing the index of the shopping list followed by an int representing the index of the item to print.
#input: int
#output: the item in a list 
def print_item():

#name: 
#purpose: 
#input: 
#output:

#name: 
#purpose: 
#input: 
#output:
answer = input()
#name: 
#purpose: 
#input: 
#output: