Code generated while learning Python from a beginner level.