Question #319172

your are given three strings as input. write a program to print first character of each string in python?


Expert's answer

input1 = "string"
input2 = "input"
input3 = "yes"

_input = [input1, input2, input3]

for x in _input:
    print(x[0])

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!

LATEST TUTORIALS
APPROVED BY CLIENTS