Multiple Choice
What will be displayed after the following code executes?
Mystr = 'yes'
Yourstr = 'no'
Mystr += yourstr * 2
Print(mystr)
A) yes + no * 2
B) yes + no yes + no
C) yesnono
D) yesnoyesno
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: The strip()method returns a copy of the
Q2: The _ method returns a copy of
Q3: Indexing of a string starts at 1
Q4: The _ method returns True if the
Q6: What will be the value of the
Q7: A(n)_ exception will occur if you try
Q8: The isalpha()method returns _ if the string
Q9: The third number in string slicing brackets
Q10: What will display after the following code
Q11: What will be assigned to the variable