This error occurs because you are trying to use module zoneinfo, without importing it first.

To import the module, insert the following code line at the beginning of the program:

 import zoneinfo 

To import the module inside Google Colab, Kaggle/Jupyter Notebook or ipython environment, execute specified code line/cell before usage of the module, and retry afterwards.


Well, what's next?

Here you may find python documentation regarding imports

Also, python has style guide for coding, with a chapter about import statements - you should follow it in order to write good and readable code.

You have already made 2 right things: practicing python and googling error output. Those 2 kinds of actions define a developer. Repeat them long enough, and success is inevitable. Consider subscribing to our DEV blog - it definitely will help to learn python coding and best practices