• HOME
  • QUIZ
  • CONTACT US
EXAMIANS
  • COMPUTER
  • CURRENT AFFAIRS
  • ENGINEERING
    • Chemical Engineering
    • Civil Engineering
    • Computer Engineering
    • Electrical Engineering
    • Mechanical Engineering
  • ENGLISH GRAMMAR
  • GK
  • GUJARATI MCQ

Python

Python
What data type is the object below in Python? L = [1, 23, 'hello', 1]

tuple
list
array
dictionary

ANSWER DOWNLOAD EXAMIANS APP

Python
Which of the following is invalid variable in Python?

None of the mentioned
__a = 1
__str__ = 1
_a = 1

ANSWER DOWNLOAD EXAMIANS APP

Python
In order to store values in terms of key and value we use what Python core data type.

tuple
dictionary
list
set

ANSWER DOWNLOAD EXAMIANS APP

Python
What does the function re.match do?

matches a pattern at any position in the string
none of the mentioned
matches a pattern at the start of the string
such a function does not exist

ANSWER DOWNLOAD EXAMIANS APP

Python
What is the result of cmp(3, 1) in python?

False
True
0
1

ANSWER DOWNLOAD EXAMIANS APP

Python
When is the finally block executed?

when there is no exception
when there is an exception
only if some condition that has been specified is satisfied
always

ANSWER DOWNLOAD EXAMIANS APP
MORE MCQ ON Python

DOWNLOAD APP

  • APPLE
    from app store
  • ANDROID
    from play store

SEARCH

LOGIN HERE


  • GOOGLE

FIND US

  • 1.70K
    FOLLOW US
  • EXAMIANSSTUDY FOR YOUR DREAMS.
  • SUPPORT :SUPPORT EMAIL ACCOUNT : examians@yahoo.com

OTHER WEBSITES

  • GUJARATI MCQ
  • ACCOUNTIANS

QUICK LINKS

  • HOME
  • QUIZ
  • PRIVACY POLICY
  • DISCLAIMER
  • TERMS & CONDITIONS
  • CONTACT US
↑