Logo

COMPSCI 119 - Shared screen with speaker view
Aiesha Ayub
06:05
No?
Joseph McCaffery
06:09
no
Maria Pitel
06:14
Yes
Robby Gatzke
06:14
no
Hunter Schinabeck
06:15
yes
Joseph McCaffery
08:22
its local to the function
Jessica Mekeel
08:31
can you explain the rule again?
Jessica Mekeel
09:20
thank you!
Aiesha Ayub
15:43
Can you explain what print(“XX =“, XX) means?
Aiesha Ayub
16:45
Okay ty
Hunter Schinabeck
18:06
is this something we need to keep in mind for the next project?
Jessica Mekeel
18:31
why didn’t toad print in the most recent example?
Kai Rojo
18:56
I might have missed something but, what is the .deepcopy() method and what does it do
Jessica Mekeel
19:18
what is the point of specifying if not to print?
Jessica Mekeel
19:30
thank you!
Kai Rojo
20:20
makes sense, thanks
Samuel Boswell
20:28
wait, there haven't been any projects yet have there? just the online homework and the eniac thing
Joseph McCaffery
20:45
if we had list L, and said X=L, then any change made to X will change L. making a deep copy of L (we can call LL) will allow us to make changes to LL without changing L
Jessica Mekeel
21:00
^^ what is eniac?
Joseph Pasquale
21:06
There was the lab for figuring out the collatz conjecture based on input
Sophia Hultman (she/her)
21:10
so it is just to test any changes you make to you original function
Cheryl Amadi
21:12
we've done one project, the second is out
Joseph Pasquale
21:17
That’s the only “project” thus far
Hunter Schinabeck
21:22
yeah I meant to say lab not project
Cheryl Amadi
21:36
yeah lab
Samuel Boswell
21:44
I am mixing up my CS courses my bad lol
Razi Huseynli
22:10
What if you write Test()?
Razi Huseynli
23:20
ty
Maria Pitel
23:24
Why does test need parameters but not main
Maria Pitel
23:57
Oh right, thank you
Joseph McCaffery
23:58
putting 2 in TEST allows us to use M and N from Main as parameters
Joseph McCaffery
24:11
or putting (X,Y) in test as paramters I should say
Joseph McCaffery
33:12
2
Maria Pitel
33:12
Px,py
Robby Gatzke
33:13
2
Hunter Schinabeck
33:13
PX and PY?
Yaowei Liang
33:14
PX and PY?
Joseph McCaffery
33:49
make a list
Yaowei Liang
33:50
make them a list?
Yaowei Liang
38:00
PO[0] ?
Hunter Schinabeck
38:00
P0(0)+P1(0)
Kai Rojo
38:09
PX = P0[0] + P0[1]
Aiesha Ayub
38:41
Why [0] and [1]?
Joseph McCaffery
38:54
position 0 is the first in the list (the X value)
Joseph McCaffery
39:00
and position 1 is the second in the list (the Y value)
Kai Rojo
39:04
those are the digit addresses/indexes
Aiesha Ayub
39:13
oh okay ty
Yaowei Liang
40:55
add one more variable? Z?
Emily Bevacqua
41:18
add PZ= P0[2] +P1[2]
Hunter Schinabeck
41:30
PZ=P0[2]+P1[2]
Aiesha Ayub
41:58
[2]
Joseph McCaffery
42:34
keep it going
Joseph McCaffery
42:39
stack it up
Cameron Almeida
42:41
^
Robby Gatzke
42:44
Mind blown
Felipe Motta
43:10
Math is fake
Robby Gatzke
43:15
^
Robby Gatzke
43:28
The index
Aiesha Ayub
43:29
The index
Robby Gatzke
43:49
So we can slim it down more?
Joseph McCaffery
44:57
this can go into a list comprehension
Robby Gatzke
45:08
Ok… now mind blown
Aiesha Ayub
45:32
why is It not N= len (P0, P1)
Joseph McCaffery
45:56
length of P0 = length P1
Joseph McCaffery
52:15
and also have the computer count how long it takes to execute a program
Aiesha Ayub
52:51
Thank you
Hunter Schinabeck
52:53
thanks prof
Thomas Murphy
52:53
Thank you!
Caroline Sonnett
52:54
Thanks!
Grace Ingledue
52:55
Thank you!
Kai Rojo
52:55
Thank you! have a great weekend
Jessica Mekeel
52:56
thank you!
Jean Saint-Felix
52:59
Thank you