In this program, we will take a string as input and string contains all letters alphabet or not
Steps to solve the program
- Take a string as input.
- Import string library and create a set of all alphabets using string library.
- Check whether a string contains all letters of the alphabet or not.
- Print True if yes else False.
#Importing string
import string
alphabet = set(string.ascii_lowercase)
#Input string
string = "abcdgjksoug"
#Printing output
print(set(string.lower()) >= alphabet)
Output :
False