Tuple() takes ............... as an argument.

(a) list

(b) string

(c) dictionary

(d) all of these

 

Answer:

-lock-

The python tuple( ) method takes the following data types as an argument:

  • List
  • String
  • Dictionary
  • Iterable
  • sequence

So, the correct answer is (d) all of these.

-endlock-

Remove Ads
Davneet Singh's photo - Co-founder, Teachoo

Made by

Davneet Singh

Davneet Singh is an IIT Kanpur graduate and has been teaching for 16+ years. At Teachoo, he breaks down Maths, Science and Computer Science into simple steps so students understand concepts deeply and score with confidence.

Many students prefer Teachoo Black for a smooth, ad-free learning experience.