Home
Python Programming
Home-text
Pages
_Important Points
Home
Program to search for a specific element in a list using for loop
Program to search for a specific element in a list using for loop
Indian
May 28, 2021
#list is declared
num = [1,2,3,4,5,6,7]
#using for loop to run through the list
for x in num:
if x == 3:
print(x)
Post a Comment
0 Comments
Subscribe Us
Followers
Our Vistors
]]>
Social Plugin
Most Popular
Using tkinter and SchemDraw in Python
May 14, 2021
Printing all the values in a Dictionary
June 14, 2021
Resistive Divider widget using tkinter in Python
May 08, 2021
Control statements and loops in Python
June 21, 2021
Python Programming | String Testing Methods
August 09, 2023
Labels
__init__ method in python
1
Definite and indefinite loops
1
Definite and indefinite loops in python
1
Definite Loops vs Indefinite Loops
1
Difference Between Definite Loop and Indefinite Loop
1
difference between list and tuple in python
1
Drawing a pentagon in Python using turtle Graphics
1
Drawing a star in Python using turtle Graphics
1
fucntions in python
1
function definition in python
1
Functions with variable length arguments
1
graphics in python
2
How can I learn the basics of Python?
1
How to use Python 'in' operator to check my list
1
input() function
1
inputs from command terminal in python
1
list in python
1
lists in python
1
lists vs tuple
1
Memory Management in Python
1
pass by reference in python
1
Pass by reference versus pass by value
1
pass by value in python
1
PVM
1
python basics
2
Python For Beginners
1
Python interpreter
1
Python Membership and Identity Operators
1
Python Tutorial
1
Python Tutorial for Beginners
1
rules to define a function in python
1
The “in” and “not in” operators in Python
1
tuple in python
1
tuples in python
1
turtle graphics in python
1
type casting in python
1
type conversion in python
1
using turtle graphics in python
1
Contact form
0 Comments