Sololearn Python Intermediate Answer