DEV Community

TANYA LYOP ACHAYI
TANYA LYOP ACHAYI

Posted on

Day 19 of 100- building a mini quiz app.


Today I learned how to borrow tools in Python using import. Instead of creating everything from scratch, Python lets me pull in ready-made functions.

import brings in the whole module.

from … import lets me pick just what I need.

import as gives me a shortcut name.

It’s like having a big toolbox, I don’t need to build the hammer, I just use it. 🧰

One day, one line, one tool at a time.

PythonZeroToHeroStudent

100DaysOfPython

MiniQuizApp

Import

Top comments (0)