• 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
An exception is ____________

an object
a standard module
a module
a special function

ANSWER DOWNLOAD EXAMIANS APP

Python
The character Dot (that is, ‘.’) in the default mode, matches any character other than _____________

ampersand (&)
percentage symbol (%)
newline
caret (^)

ANSWER DOWNLOAD EXAMIANS APP

Python
Which of the following is invalid variable in Python?

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

ANSWER DOWNLOAD EXAMIANS APP

Python
To insert 5 to the third position in list1, we use which Python command?

list1.insert(3, 5)
list1.insert(2, 5)
list1.add(3, 5)
list1.append(3, 5)

ANSWER DOWNLOAD EXAMIANS APP

Python
When will the else part of try-except-else be executed?

when no exception occurs
when an exception occurs
when an exception occurs in to except block
Always

ANSWER DOWNLOAD EXAMIANS APP

Python
Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5) return in Python?

1
2
4
0

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
↑