Better HN
topnewbestaskshowjobs
Log inSign up

pythonscheme

6 karma · joined May 30, 2016 (10y ago) · 2 submissions

Submissions

comment 10y ago · link · parent

How do they compute the favoribility of a city?

Yekaterinburg, Russia:

English Speaking: bad

Free WiFi: bad

Friendly to Foreigners: bad

Racial Tolerance: bad

Gay Friendly: bad

New Orleans, USA:

The only bad thing is the absence of free WiFi in the city. Yet, Ekaterinburg is apparently 12% better than New Orleans. How so?

comment 10y ago · link · parent

I am having some problems with magic methods in Python. They are defined inside a class using built-in functions and are not directly callable. What are some helpful resources with this topic? Thanks.