Alphabet

Report a typo

Suppose we have a string with some alphabet and we want to store all the letters from it in a tuple. Read the input string and print this tuple.

Sample Input 1:

abcdefghijklmnopqrstuvwxyz

Sample Output 1:

('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z')
Write a program in Python 3
# work with this string
alphabet = input()
___

Create a free account to access the full topic