If a and b are strings, which of the following is equivalent to [a] + [b] ?
[a] + [b] is a list concatenation in Python.
Since a and b are variables, it is equivalent to creating a new list with just these two variables.

@keithroby876 sorry, what was the question?

2017 Dec 5, 3:04:22 PM

Need more to go on ?

2017 Nov 30, 12:52:16 PM

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Python quizzes
Sign Up Now
or Subscribe for future quizzes