Answer to Question #219099 in Python for Hari nadh babu

Question #219099

First Letters


This Program name is First Letters. Write a Python program is First Letters, it has two test cases


The below link contains First Letters - question, explanation and test cases


https://drive.google.com/file/d/1cXmIW56uurB83V4FNRuNw9VhJ7RcYU9j/view?usp=sharing


We need exact output when the code was run

1
Expert's answer
2021-07-20T17:05:19-0400
def main():
    #Read string
    i=1
    while i < 3:
     print("Test Case "+ str(i))
     inputString = input("Enter string: ")
     inputStringTwo = input("Enter another string: ")
     inputStringThree = input("Enter third string: ")
     outputString=inputString[0] + inputStringTwo[0] + inputStringThree[0]
     print(outputString)
     i+=1




main()

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

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS