Hello!
I recently stumbled upon a python course and a test of sorts, there is a question:
What is the value of C?
T = 3
v = "ab"
C = T *v
To which I replied that the value is ababab
I was corrected and told that the value is 'ababab'
Can you help me understand why this is the case? Thank you
I recently stumbled upon a python course and a test of sorts, there is a question:
What is the value of C?
T = 3
v = "ab"
C = T *v
To which I replied that the value is ababab
I was corrected and told that the value is 'ababab'
Can you help me understand why this is the case? Thank you