Solved

What Will Be Assigned to the String Variable Pattern After

Question 27

Multiple Choice

What will be assigned to the string variable pattern after the execution of the following code?
I = 3
Pattern = 'z' * (5*i)


A) 'zzzzzzzzzzzzzzz'
B) 'zzzzz'
C) Error: '*' operator used incorrectly
D) The right side of the '*' must be an integer.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions