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.
Tuple
Alphabet
Report a typo
Sample Input 1:
abcdefghijklmnopqrstuvwxyzSample 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()
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.