Import statements allow you to import standard library statements directly into the current file so that you can use pre-made functions without having to implement them.
To import standard library statements, use the import
keyword followed by the namespace paths to the standard library statements.
You can also import entire standard library namespaces which includes all the the statements within the namespace.
The from
keyword allows you to specify the namespace prefix of import paths.
Check out the playground!