0

What is the use of as keyword in Python example?

Monisha M Posted new comment May 31, 2023
User Avatar

The as keyword is used to create an alias. In the example above, we create an alias, c , when importing the calendar module, and now we can refer to the calendar module by using c instead of calendar .