What is the result of "hello" * 3 ?
A. "hellohellohello"
B. "hello3"
C. "3hello"
D. "hhheeellllllooo"
Answer: Option A
Solution (By Examveda Team)
The * operator repeats a string a specified number of times.Related Questions on Variable Names and Operators
Which of the following is a valid variable name in Python?
A. my-variable
B. 123variable
C. _my_variable
D. $variable
What is the maximum possible length of an identifier?
A. 31 characters
B. 63 characters
C. 79 characters
D. none of the mentioned

Join The Discussion