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
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()
Comments
Leave a comment