Initialization of frequency | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Initialization of frequency

Why freqs initialized as {} an not as = 0

17th Nov 2016, 5:36 AM
‏‪kouty‬‏
‏‪kouty‬‏ - avatar
1 ответ
+ 4
It will output an error if you try to do 0, because it used the .default method
13th Apr 2017, 10:09 AM
MrCoder
MrCoder - avatar