Examveda

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.

This Question Belongs to Python Program >> Variable Names And Operators

Join The Discussion

Related Questions on Variable Names and Operators