PW Akshay

Generation

generate functionMon, 28 Nov 2022

from string import ascii_letters, digits, punctuation #make this program to get this output: bcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~

s = "abcdefghijklmnopqrstuvwxyz" print(s.upper()) print(s.lower()) s = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" print(s.upper()) print(s.lower()) s = "0123456789" print(s.upper()) print(s.lower()) s = "!\"#$%&'()*+,-./:;<=>?@[\]^_`{|}~" print(s.upper()) print(s.lower())

Questions about programming?Chat with your personal AI assistant