The comment is a programmer-readable explanation in the code of a program. In Python script, the symbol #(octothorpe) indicates the start of the comment line. You can define single-line comment as well as multi-line comments.
Category: Python Tutorials
This page will have all tutorials which are related to python 3.
Ending support for Python 3.6 in AWS Lambda
The aws announced that ending support for Python 3.6 in AWS Lambda service. This follows Python 3.6 End-Of-Life (EOL) reached on December 23, 2021 [1].
How To Print Type Of Variable In Python
The type() method in Python can be used to print the type of a variable. type() is a Python built-in function that returns the variable’s data type. In Python, use the print() method to print the variables.
np arange with Example
In this python tutorial. we will learn how to use NumPy arrange method. The np.arange() method builds a very basic array based on a user-supplied numerical range.
How to Add a String in Python
The concatenation of two strings has been discussed in a variety of languages. In Python, however, adding one string to another is a simple job.
Read Excel File in Python
I’ll show you how to open and read an Excel Workbook (.xlsx extension) and read from cells and worksheets in this tutorial. We’ll open and read the excel file using xlrd python libs.
How to Write an Excel File in Python
This python tutorial help to write to excel using python and xlrd lib. The xlrd module may be used to obtain data from a spreadsheet. It can be used to read, write, or alter data.
Check if a String is Palindrome in Python
In this tutorial, you’ll learn how to use Python to check if a string is a palindrome. We’ll discuss different ways to check palindrome strings.
Python String Casefold() Method with Example
Python String casefold() is a built-in function used to implement caseless string matching.The casefold() method is very similar to the lower() method in the python. It is used for caseless matching striing in python.
Calculate a Number Factorial in Python
This python tutorial help to calculate factorial using Numpy and without Numpy. The factorial is always computed by multiplying all numbers from 1 to the number given. The factorial is always found for a positive integer.