What is the use of * operator in strings?
Answer:
Python allows us to repeat the given string using repetition operator which is denoted by symbol * .
Example:
Get live Maths 1-on-1 Classs - Class 6 to 12
Very Short Answer Type Questions (1 Mark each)
Very Short Answer Type Questions (1 Mark each)
Last updated at March 16, 2023 by Teachoo
Answer:
Python allows us to repeat the given string using repetition operator which is denoted by symbol * .
Example:
Get live Maths 1-on-1 Classs - Class 6 to 12