What will be the output of the following code?
>>>tuple1 = (3, 5, 7, 9)
>>>tuple2 = (3, 5, 9, 7)
>>>tuple1
a. Error b. False
c. True d. Null
Which of the following functions in Python is used to convert a string into a tuple?
a. tuple(str) b. str(tuple)
c. repr(tuple) d. list(tuple)
Which of the following data types does not belong to Python?
a. String b. Tuple
c. Dictionary d. Structure
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here