Python

Ques:- How do you create a python function ?
Ques:- How will you check in a string that all characters are in lowercase ?
Ques:- How will you check in a string that all characters are in uppercase ?
Ques:- How do you check the file existence and their types in python ?
Ques:- What are the data types supports in python language ?
Ques:- Explain what flask is and its benefits ?
Ques:- How will you merge elements in a sequence ?
Ques:- Is python a case sensitive language ?
Ques:- What is the difference between range & x range ?
Ques:- What is the usage of help() and dir() function in python ?
Ques:- How is compile-time and run-time code checking done in python ?
Ques:- What is numpy and how is it better than a list in python ?
Ques:- How to convert a list into other data types ?
Ques:- What is the difference between del() and remove() methods of list ?
Ques:- How do I test a python program or component ?
Ques:- Why don’t my signal handlers work ?
Ques:- How do I make a python script executable on unix ?
Ques:- How do you count the occurrences of each item present in the list without explicitly mentioning them ?
Ques:- How will you check in a string that all characters are decimal ?
Ques:- How will you set the starting value in generating random numbers ?
Ques:- Explain different ways to trigger / raise exceptions in your python script ?
Ques:- What is the lambda operator ?
Ques:- What do you think is the output of the following code fragment? Is there any error in the code ?
Ques:- What is the purpose pass statement in python ?
Ques:- How will you get all the values from the dictionary ?
Ques:- What is a built-in function that python uses to iterate over a number sequence ?
Ques:- What is the difference between tuples and lists in python ?
Ques:- Explain inheritance in python with an example ?
Ques:- What are exception handling? How do you achieve it in python ?
Ques:- Explain the use of break and continue in python looping ?
Scroll to top