Answer to Question #257573 in Python for Isabel Cortez

Question #257573

1. Spelling

by CodeChum Admin

Are you good at spelling things? Well, with Python and its loops, it's as easy as 1-2-3! Let's try spelling some random words!


Instructions:

  1. Make a variable assigned to an input() function to store an inputted string.
  2. Using a for loop, print out each character of the inputted string on separate lines, but all that is to be printed out must be in lowercase. Remember your lessons on how to transform strings into lowercase values!

Instructions

  1. Make a variable assigned to an input() function to store an inputted string.
  2. Using a for loop, print out each character of the inputted string on separate lines, but all that is to be printed out must be in lowercase. Remember your lessons on how to transform strings into lowercase values!

Input

A line containing a string.


CodeChum

Output

Multiple lines containing a one-letter lowercase string.


c
o
d
e
c
h
u
m
1
Expert's answer
2021-10-27T10:15:33-0400
   
inputString = input()
for l in inputString.lower(): 
    print(l)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment