#can someone who is proficient in Python

1 messages · Page 1 of 1 (latest)

tired mango
#

I understand it as creating an array of arrays, with a fixed size of whatever the length of nums is

#

thank you, its just confusing LOL. in Swift, I can just say this:
var freqArray = [[Int]](repeating: [], count: nums.count)

#

which is easier to understand

tiny dagger
#

Python often trips over itself with stuff like this tbh
One of the reasons I really dont like it

tired mango
static coyote
tired mango