as — Easy Playground
Creates an alias (used with import, with, except)
Python Playground
Output
Click "Run" to execute your code'as' creates an alias — a new name for an imported module, caught exception, or context manager result. It makes code cleaner without extra assignment lines.
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?