Rajesh SinghNov 10, 20201 minWhat is difference between Compiler, Interpreter and Assembler? Compiler: A Compiler is a program used in High level language to convert the low level language or machine code into binary information....
Rajesh SinghApr 14, 20202 minPython ModulesA module is a file containing Python definitions and statements. A module can characterize functions, classes and variables. A module can...
Rajesh SinghApr 10, 20202 minScope of Objects and names in Python:Scope refers to the coding region from which exacting Python object is accessible. So one cannot access any exacting object from...
Rajesh SinghApr 8, 20202 minCommand Line Arguments in PythonCommand Line Arguments are the arguments that are specified after the name of the program in the command line shell of the operating...
Rajesh SinghApr 6, 20203 minPython File MethodsA file object permits us to utilize, access and control all the user accessible files. One can read and write any such files. At the...
Rajesh SinghApr 6, 20202 minWhat is a file in Python?File is a named location on disk to store related information. It is used to permanently store data in a non-volatile memory. Firstly we...
Rajesh SinghApr 6, 20203 min Local and Global Variables in PythonLocal Variable In all-purpose, a variable that is defined in a block is available in that block only. It is not reachable outside the...
Rajesh SinghApr 3, 20202 minWhat is Date & Time Functions in Python?Date, time and datetime modules give a number of functions to contract with dates, times and time intervals in Python. We manipulate...
Rajesh SinghApr 3, 20201 minWhat is recursion in Python?Recursion is the process of defining something in terms of itself. A recursive function is a function defined in terms of itself via...
Rajesh SinghApr 3, 20202 minWhat is Function Arguments in PythonA function that takes variable number of arguments in Python. Example: def tkd(name,msg): print("Hello",name + ', ' + msg)...
Rajesh SinghApr 3, 20202 minWhat is Built-in functions?There are following set of built in functions in Python Function Description abs() ...
Rajesh SinghApr 3, 20201 minWhat is a function in Python?Function is a group of related statements that perform a specific task in Python. A function is a block of code which only runs when it...
Rajesh SinghApr 3, 20203 minWhat is Python Operators?Operators are used to perform operations on variables and values. There are following operators in Python Arithmetic operators Assignment...
Rajesh SinghApr 1, 20201 minPass Statement in PythonThe pass statement acts as a placeholder and frequently used when there is no need of code but a statement is still essential to make a...
Rajesh SinghApr 1, 20201 minContinue Statement in PythonThe continue statement is used within a loop to skip the rest of the statements in the body of loop for the current iteration and jump to...
Rajesh SinghApr 1, 20201 minBreak Statement in PythonThe break statement is used to terminate the loop when a certain condition is gathering. The break statement is usually used inside a...
Rajesh SinghApr 1, 20201 minWhile Loop in PythonWhile loop is used to iterate over a block of code again and again until a given condition returns false. A program is executed...
Rajesh SinghApr 1, 20202 minFor Loop in Pythonfor () loop is a counting loop and repeats its body for a pre-defined number of times. It is a very versatile statement and has many...
Rajesh SinghApr 1, 20201 minNested If else statement in PythonIf statement is within another if statement then this is called nested of control statements. Example num = -100 if num > 0:...
Rajesh SinghApr 1, 20201 minIf elif else statement in pythonWe use the if..elif..else statement when we need to check multiple conditions. Syntax: if condition: statement1 elif condition_2:...