Report Bug

Qus

What is the output of below program ?

def say(message, times =1):
    print(message * times)
say("Hello")
say("Word",5)
Qus

नीचे दिए गए प्रोग्राम का आउटपुट क्या है?

def say(message, times =1):
    print(message * times)
say("Hello")
say("Word",5)


A. Hello WordWordWordWordWord
B. Hello Word 5
C. Hello Word,Word,Word,Word,Word
D. Hello HelloHelloHelloHelloHello


Solution
A. Hello WordWordWordWordWord



CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad