Logo

COMPSCI 119 - Shared screen with speaker view
Alyssa
12:25
these are data types right? not functions
Michael Chan
19:22
Left
Corinne (she/her)
19:23
left
Jackey Zhang
20:26
left
Bingyi Chen
20:31
2
Ben Sander
20:32
2
Alyssa
22:56
so its immutable but you can add them together?
alyjah gagnon
23:25
So you cannot put them in between ?
Betame DeBono
23:57
what about T = T + ([2,3],2)
Martin Kane
24:11
can you subtract in tuple?
Betame DeBono
24:20
would it be T= (5,9,2,1,4,7,[2,3],2)
Alyssa
26:00
so there are 10 items there right? because the list is one item
Betame DeBono
26:08
T[len(T)-3 would thus be 2
Kristen Amoah
29:34
Could you do (,3)?
Deyao Kong
30:16
can we change elements in list inside the tuple?
sean song
30:54
yes
Martin Kane
30:55
yes
Kristen Amoah
30:55
Yes
Jackey Zhang
30:58
yes
Alex Chin
31:00
no
sean song
31:02
dang
Alex Chin
31:04
immutable
Martin Kane
32:00
no
Michael Chan
32:00
no
XinyiLin
32:01
no
Jackey Zhang
32:03
no
Deyao Kong
33:23
5
Michael Chan
33:24
5
Marcus Guzman
33:24
5
Alyssa
33:26
5
Steven Luttazi
35:54
Why is T[2] the list and not 8
Deyao Kong
36:07
because index starts at 0
Aman Saiju (he/him)
38:06
Wait so you can typecast a list into a tuple but not the other way?
Aman Saiju (he/him)
38:41
Thank you!
Martin Kane
39:28
why does len(s) equal to 12?
Alyssa
39:34
what comes up for S[6]
Stephanie Wertheim
40:36
why would s[-1] be e and not r? wouldn’t e be considered 0
Deyao Kong
41:05
Are there char types in python or every char are stored as a length 1 string?
Stephanie Wertheim
41:15
ty!
Michael Chan
42:31
"Hello, there Frog
Aman Saiju (he/him)
43:40
no
William Wright
50:05
How do you assign the range to a letter?
Uzair Ansar
52:07
100, 200, 300 etc
William Wright
52:10
100, 200, 300…
Victoria Drejsa
55:30
Thank you!
Abigail Wing
55:33
Thank you
Zoe Kaplan
55:33
Thank you!
jackfallon
55:34
Thank you
William Wright
55:35
Thank yoiu
Aman Saiju (he/him)
55:35
Thank you
Uzair Ansar
55:36
thank u
Deyao Kong
55:37
thx
Amanda Murrizi
55:44
thank you!