Home » Web Development » Python » Page 9

Python

Python input() method Tutorial

set python

Hello in this tutorial, we will understand input() method in python programming. 1. Introduction Let us understand the input() and raw_input() method. 1.1 input() method The input() method in python programming reads input from the user, evaluates it (i.e. whether the user has entered a string, number, or a list), and returns it. If the input provided by the user ...

Read More »

Python String contains() method Tutorial

set python

Hello in this tutorial, we will understand Python String contains() method. 1. Introduction The contains in python is used to check whether a string contains a substring or not. A substring is the sequence of characters within a string. We will explore the below methods to check if a string contains another string or not. The find() method checks if ...

Read More »