Enrollments Open for Advanced Certification Courses on Data Science, ML & AI by E&ICT Academy IIT Roorkee
Apply NowIn Python there are several String Operations. The *
operator can be used to repeat a string multiple times and form a larger string. For eg. to repeat the string game
, 5 times and store it in a variable called games
use games = "game" * 5
animal
with a value of cat
. ten_animals
having 10 times the string stored in animal
No hints are availble for this assesment
Answer is not availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...