Logo

COMPSCI 119 - Shared screen with speaker view
Riley
06:33
When will it be due?
William Verts
06:51
will announce later
Aman Saiju (he/him)
26:29
0
Michael Chan
26:30
0
Will Martorana
26:32
0
Christina Izbicki
26:32
0
Finn Delay
26:43
0
Connor Page
26:52
zero
Christina Izbicki
28:14
can you use a negative to remove values from the back instead of the front? EX. go from the back to get O and use -1 instead of 2?
Aman Saiju (he/him)
30:26
Use Len and assign it to a variable
Christina Izbicki
32:43
Do you have to use len(s)-1 or can you just use d the -1?
Alyssa
32:47
why is there no 0 on the far right? it just starts at -1
April Haines
36:51
Do we need to put n=len(s) s[N-1]in python or are you explaining how the code for s[len(s)-1] is derived
Christina Izbicki
37:21
Can't the capitalization issue come into play when you are having the user input the string value for a variable? Is there a way to change the casing to all uppercase of lower case?
Uzair Ansar
37:38
lower.
Nick Newman
39:02
O
Aman Saiju (he/him)
40:40
Is this true for all types with sub values or just strings
Uzair Ansar
41:14
just strings i think. you can append lists
Christina Izbicki
45:03
wait is constructor a command?
Christina Izbicki
46:07
so would a matrix or array be a tuple
Christina Izbicki
46:54
why would you use a tuple then?
Will Martorana
46:56
So why use strings if u can use tuples?
Abigail Wing
50:34
Yes
alyjah gagnon
50:37
ye
Aman Saiju (he/him)
51:08
3
Michael Chan
51:10
3
Kristen Amoah
51:13
3
Michael Chan
51:21
7
Aman Saiju (he/him)
51:21
7
Kristen Amoah
51:22
7
Aman Saiju (he/him)
51:35
5
Kristen Amoah
51:37
5
Aman Saiju (he/him)
51:59
How would it format if you said L[3]
Alyssa
52:44
so L [-2] is [3,2]? it doesn't separate the list
Michael Chan
53:16
2
Christina Izbicki
53:17
3
Aman Saiju (he/him)
53:19
2?
Christina Izbicki
53:23
2*
Betame DeBono
53:35
so L[-2][-1] = 2
Aman Saiju (he/him)
55:58
2
Nick Newman
56:00
2
Betame DeBono
56:14
2
Martin Kane
56:16
dos
Terrick Boire
56:58
what about the replace method?
Jie Lian
57:36
Do we have any assignment to work on?
Finn Delay
57:57
Thank you
William Wright
57:58
Thank you
Betame DeBono
57:58
Thanks Dr. Bill
Abigail Wing
57:58
Thank you
Victoria Drejsa
57:58
Thank you!
Annabelle Mauri
57:58
Thank you!
Corinne (she/her)
57:58
thank you!
Alex Chin
57:59
THank You!
jackfallon
57:59
Thank you
Kelly Palacios
58:01
Thank you!
Annalisa Eramo
58:02
Thank you
Aman Saiju (he/him)
58:02
Thank you!
Aiman Elfakir
58:03
Thank you
Nick Newman
58:08
thanks, have a nice say
Marcus Guzman
58:09
thank ya