Skip to main content

Logo

CIS 15 - Cloud Programming in Python (Shared screen with speaker view)
Fergus Gunter
11:08
I AM THE ALCHOHOL
Fergus Gunter
11:16
im muted
Fergus Gunter
11:26
tasha and kyle b aren't
Fergus Gunter
17:32
#triggered
Fergus Gunter
17:49
#IKNOW
Carter Frost
23:49
why did print return false?
Scott Pastrone
24:19
I am trying to follow along in my terminal...please explain how you set this up.
Carter Frost
24:31
just run "python3.6"
Scott Pastrone
24:39
did that
Carter Frost
25:14
>>> bool(print("t"))tFalse
Cameron Kochan
40:01
false
Samuel Gibson
40:02
false
Neil Routley
40:02
false
kyle b
40:02
false
Carter Frost
40:02
False
L. Donovan Conley
40:07
false
jonatahn muniz
40:07
false
Hans Leuthold
40:07
false
Takashi Tamasu
40:10
false
Carter Frost
42:45
>>> bool(10)True>>> bool(-10)True
Neil Routley
44:20
didn't you mean: 1 < number < 100?
Neil Routley
44:25
this does return True.
Jake Rosen
45:32
don't get used to it though
Jake Rosen
45:38
other programming languages don't work like that
Fergus Gunter
01:17:41
"string" > 'c' ?
Carter Frost
01:19:18
can mix double and ints 1 > 1.1 is False
Darren Churchill
01:20:06
Is testing floats for equality a bad idea like in other languages?
Marcos Della
01:47:07
testing > or < for floats is not bad... but you should *never* test != or == with floats
Jake Rosen
01:47:43
unless you intend to
Marcos Della
01:48:30
can almost guarentee you will be heckled for life if you ever go to a code review with a != or == with any kind of float()....
Jake Rosen
01:49:13
you could intentionally do it for certain cases, is what i meant
Jake Rosen
01:49:20
nothing comes to mind for why you would
Carter Frost
02:24:15
is that like passing the buck making the thing that called your function responsible for chatching the exeption?
Carter Frost
02:27:38
is there a nice way to declare what kind of errors can "leakout"
Carter Frost
02:27:52
?
Carter Frost
02:28:08
likes java's throws
Fergus Gunter
02:37:36
can you make afucntion that displays "I AM THE LIQUOR!"?
Carter Frost
02:43:19
you shoud be able to
Fergus Gunter
02:44:36
stay
L. Donovan Conley
02:44:39
switch
Samuel Gibson
02:44:39
switch
Cameron Kochan
02:44:41
switch
Neil Routley
02:44:44
switch
kyle b
02:44:45
switch
Carter Frost
02:44:59
stay
Marcos Della
02:44:59
on average, switch doors (has to do with Monty's tendencies)
Takashi Tamasu
02:45:35
stay
Marcos Della
02:45:52
statistically, doesn't matter.