Find the output if the input string is 'Tesť. (a) S =input("Enter String : ")Test RS = "" for ch in S: RS = ch + RS print(S + RS)
(b) S = input("Enter string : ") RS = " " for ch in S : RS = ch + 2 + RS print(RS + S)
Share
Find the output if the input string is 'Tesť. (a) S =input("Enter String : ")Test RS = "" for ch in S: RS = ch + RS print(S + RS)
(b) S = input("Enter string : ") RS = " " for ch in S : RS = ch + 2 + RS print(RS + S)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
0 Replies