Logo

COMPSCI 119 - Shared screen with speaker view
Hunter Schinabeck
04:33
nice
Aiesha Ayub
04:46
does frog have to be in quotes?
Joseph McCaffery
05:12
Frog could be variable without quotes, but with quotes its a string
Giovanni Quintal
05:44
that's helpful thanks
Aiesha Ayub
06:14
Okay thx
Addy
08:12
What do the square brackets [4,-2] in the list signify
Addy
08:20
and the Tuple
Matthew Eng
08:23
Another list
Joseph McCaffery
08:27
a List within the list/tuple
Joseph McCaffery
08:51
so L[3] = [4,-2]
Robby Gatzke
10:49
Could you have a list inside a list inside a list and so on
Joseph Pasquale
11:37
Yes, but usually you don’t layer them beyond a list in a list
Joseph Pasquale
11:54
And you won’t have to worry abt that
Addy
13:06
Could you do L2 = [L]
Addy
13:42
so instead of writing out the entire list you would want to put into another, you can just put its variable name?
Joseph Pasquale
13:52
That would be L2 = L
Joseph Pasquale
14:26
L2 = [L] would make a List with the L list as the only entry
Joseph Pasquale
14:34
don’t do that
Alex Oliveira
17:23
Starts at zero?
Joseph McCaffery
17:24
its going to start at 0
Maria Pitel
17:26
Starts at 0
John Lauro
17:29
It starts at 0 not 1
Maria Pitel
18:54
Is there a reason why counter is in square brackets? Does it make a difference
Robby Gatzke
19:29
list
Matthew Eng
19:29
list
Razi Huseynli
19:33
list
Joseph McCaffery
19:35
lists are mutable, tuples are not
Robby Gatzke
19:36
Tuple
Aiesha Ayub
20:26
what do you mean by new L and old L?
Maria Pitel
20:30
Thank you
Matthew Eng
20:54
You can’t do this with a tuple right?
Razi Huseynli
21:26
Can you pls do this on python?
Aiesha Ayub
21:30
Ty!
Giovanni Quintal
22:27
so L = ( ) to do this with a tuple?
Joseph McCaffery
23:05
you couldn't do this with a tuple. You can't change tuples.
Joseph Pasquale
23:26
^pretty sure that’s correct
Maria Pitel
24:34
Can you have a counter add strings rather than integers. as long as it runs under 10 times it would keep adding a word?
Maria Pitel
25:14
Nothing?
Isaac Wolfson
25:15
Empty brackets
Giovanni Quintal
25:23
would never add?
Giovanni Quintal
25:39
or concatenate
Cameron Almeida
25:48
Why is there a +1 inside the brackets on the 4th line
Joseph McCaffery
26:13
0-9
Joseph Pasquale
26:44
If nothing else remember this
Joseph Pasquale
26:48
Arrays start at 0
Joseph Pasquale
26:54
(Lists)
Giovanni Quintal
30:40
0-9 items
Robby Gatzke
30:41
p
Joseph Recchia
30:42
10
Robby Gatzke
30:43
9
Addy
30:45
10 items
Maria Pitel
30:48
There’s 10 items
Felipe Motta
30:55
0 to 19
Samuel Boswell
30:57
they all use the same counter variable
Felipe Motta
30:59
0 to 9
Addy
31:00
Same system to generate the loop in essense
Samuel Boswell
31:03
no
Robby Gatzke
31:04
yes
Robby Gatzke
31:54
Started empty
Emily Bevacqua
32:15
Increment by 1
Yusra Habib
32:19
used while
Maria Pitel
32:31
They printed horizontally not vertically?
Isabella MacNaughton
32:37
they use the corresponding constructor
Josue Medor
32:58
all concatenate
Giovanni Quintal
34:18
vertical
Aiesha Ayub
35:50
Is * like frog in string?
Robby Gatzke
36:01
Concatenate error
Emily Bevacqua
36:08
if you wanted the tuple to print 1-10 and would you put the +1 after the comma or does the comma always go at the end?
Samuel Boswell
36:08
cant add strings and ints
Joseph Recchia
36:10
Python doesn’t know it’s a string?
Matthew Eng
36:47
no
Robby Gatzke
36:48
yes
Robby Gatzke
37:02
Oof
Emily Bevacqua
38:13
if you wanted the tuple to print 1-10 and would you put the +1 after the comma or does the comma always go at the end?
Hunter Schinabeck
40:11
indentation?
Emily Bevacqua
41:33
there
Emily Bevacqua
41:39
Is one beforen0
Felipe Motta
41:50
Maybe we can just put spaces instead of comas?
Emily Bevacqua
46:02
if you wanted the tuple to print 1-10, would you put the +1 after the comma or does the comma always go at the end?
Samuel Boswell
46:34
could you demonstrate why youd use a tuple instead of a list
Samuel Boswell
46:48
ok
Addy
48:42
What is append?
Joseph Pasquale
48:54
Append means to add to the end of something
Maria Pitel
52:26
Does append only work for lists or can we use it for strings
Maria Pitel
53:44
Ok thank you :)
Caroline Sonnett
53:47
Thank you!
Zack Colleran
53:49
Thank you!
Victoria Chan
53:50
Thank you!
Giovanni Quintal
53:50
thank you! have a good day
Isabella MacNaughton
53:51
Thank you!
Grace Ingledue
53:51
Thank you!