Computer Science
What is the result of following statement, if the input is 'Fun'?
print(input("…") + "trial" + "Ooty" * 3)
Python String Manipulation
24 Likes
Answer
The result of the statement is:
FuntrialOotyOotyOoty
Answered By
14 Likes
Related Questions
Write a Python script that traverses through an input string and prints its characters in different lines — two characters per line.
Out of the following operators, which ones can be used with strings in Python?
=, -, *, /, //, %, >, <>, in, not in, <=
Which of the following is not a Python legal string operation?
(a) 'abc' + 'abc'
(b) 'abc' * 3
(c) 'abc' + .3
(d) 'abc.lower()Can you say strings are character lists? Why? Why not?