How to print alphabets in python?
![](https://pythonpoint.net/wp-content/uploads/2020/12/Yellow-and-Pink-Beauty-and-Fashion-Blog-Banner-5-1024x576.jpg)
We have many methods to do this. Here we’ll see some examples.
e.g.,
import string s = string.ascii_lowercase l = list(s) print(l)
![](https://pythonpoint.net/wp-content/uploads/2020/12/Screenshot-1148-1024x305.png)
e.g.,
import string s=string.ascii_uppercase l=list(s) print(l)
![](https://pythonpoint.net/wp-content/uploads/2020/12/Screenshot-1150-1024x274.png)
e.g.,
for a in range(97, 123): print(chr(a), end=" ")
![](https://pythonpoint.net/wp-content/uploads/2020/12/Screenshot-1152-1024x177.png)
In this way we can print the alphabet in python.
Subscribe
Login
Please login to comment
0 Discussion