Simple python quiz
A. Line number 2 has invalid syntax. It should be "quiz[2]"
B. It will print ('hello', 'world')
C. Linux number 1 will give an error, we can't mix string with integer in tuple
#python #pythonprogramming
#PythonTips #pythoncoding #pythoninterviews
@DopeGhoti @RecursiveNeuron No, I think it'll be A. Line number 2 has invalid syntax. It should be "quiz[2]"
@actuallyAx @DopeGhoti it's a valid syntax in python. It will get you the elements starting from index 2
@DopeGhoti you are correct