For anyone who's been following the assignments, what did you use as the key for your dictionary on the DP part of the last problem set, ps8? My answer matched with the example for W = 30 and it ran fairly fast, but I had to use a tuple of four variables to get a workable key. Anyone have a better solution?
Excuse me, but I nailed that part tra la la
XD
NicolPotent 2 months ago
@NicolPotent actually its 'nailed that pset'
JazkishZ 1 week ago
I laughed! 3:11
NicolPotent 2 months ago
I'll be enrolling in this course for the next semester.
agapitoflores001 3 months ago
I love these videos
romangeneral23 1 year ago
beautiful examples!
python is pretty!
mrProgrammingGeek 1 year ago
@mrProgrammingGeek If u can speak english, you can program in python. pretty much.
NicolPotent 2 months ago
For anyone who's been following the assignments, what did you use as the key for your dictionary on the DP part of the last problem set, ps8? My answer matched with the example for W = 30 and it ran fairly fast, but I had to use a tuple of four variables to get a workable key. Anyone have a better solution?
tkearn5000 2 years ago
In c# it is so easy because you have public, protected and private. Python's lacking of this is very bad.
eliotball 2 years ago
dont play :(
f24alex 2 years ago
They are technically correct. Yes you can have python do some name mangling of the "hidden" data, and that captures the idea of data hiding
But you still have access to it if you want, so it's not strictly enforced. And that's what he said.
3dfabio 2 years ago 8
Once again they claim that class variables can't be hidden. This is incorrect.
manghole 2 years ago