SlideShare a Scribd company logo
1 of 2
Download to read offline
for Loop
Python Tutorial
by Menard Maranan
“for Loops”
Xfor Loops
What is for Loop?
>>>for loops are another kind of
loop in Python which uses
“Iteration” to create a loop and
execute the code it has over
and over again.

More Related Content

More from Menard Maranan

Python return statement
Python return statementPython return statement
Python return statementMenard Maranan
 
Python try except (menard maranan)
Python try except (menard maranan)Python try except (menard maranan)
Python try except (menard maranan)Menard Maranan
 
Python packages (menard maranan)
Python packages (menard maranan)Python packages (menard maranan)
Python packages (menard maranan)Menard Maranan
 
Python modules (menard maranan)
Python modules (menard maranan)Python modules (menard maranan)
Python modules (menard maranan)Menard Maranan
 
Python inheritance (menard maranan)
Python inheritance (menard maranan)Python inheritance (menard maranan)
Python inheritance (menard maranan)Menard Maranan
 
Python class (menard maranan)
Python class (menard maranan)Python class (menard maranan)
Python class (menard maranan)Menard Maranan
 
Python functions (menard maranan)
Python functions (menard maranan)Python functions (menard maranan)
Python functions (menard maranan)Menard Maranan
 
Python if else statements (menard maranan)
Python if else statements (menard maranan)Python if else statements (menard maranan)
Python if else statements (menard maranan)Menard Maranan
 
Python tuples (menard maranan)
Python tuples (menard maranan)Python tuples (menard maranan)
Python tuples (menard maranan)Menard Maranan
 
Python sets (menard maranan)
Python sets (menard maranan)Python sets (menard maranan)
Python sets (menard maranan)Menard Maranan
 
Python dictionaries (menard maranan)
Python dictionaries (menard maranan)Python dictionaries (menard maranan)
Python dictionaries (menard maranan)Menard Maranan
 
Python nested lists (menard maranan)
Python nested lists (menard maranan)Python nested lists (menard maranan)
Python nested lists (menard maranan)Menard Maranan
 
Python lists (menard maranan)
Python lists (menard maranan)Python lists (menard maranan)
Python lists (menard maranan)Menard Maranan
 
Python data structures (menard maranan)
Python data structures (menard maranan)Python data structures (menard maranan)
Python data structures (menard maranan)Menard Maranan
 
Python string formatting (menard maranan)
Python string formatting (menard maranan)Python string formatting (menard maranan)
Python string formatting (menard maranan)Menard Maranan
 
Python comments (menard maranan)
Python comments (menard maranan)Python comments (menard maranan)
Python comments (menard maranan)Menard Maranan
 
Python indexing (menard maranan)
Python indexing (menard maranan)Python indexing (menard maranan)
Python indexing (menard maranan)Menard Maranan
 
Slides python booleans (menard maranan)
Slides   python booleans (menard maranan)Slides   python booleans (menard maranan)
Slides python booleans (menard maranan)Menard Maranan
 
Slides python numbers (menard maranan)
Slides   python numbers (menard maranan)Slides   python numbers (menard maranan)
Slides python numbers (menard maranan)Menard Maranan
 
Python strings Tutorial (menard maranan)
Python strings Tutorial (menard maranan)Python strings Tutorial (menard maranan)
Python strings Tutorial (menard maranan)Menard Maranan
 

More from Menard Maranan (20)

Python return statement
Python return statementPython return statement
Python return statement
 
Python try except (menard maranan)
Python try except (menard maranan)Python try except (menard maranan)
Python try except (menard maranan)
 
Python packages (menard maranan)
Python packages (menard maranan)Python packages (menard maranan)
Python packages (menard maranan)
 
Python modules (menard maranan)
Python modules (menard maranan)Python modules (menard maranan)
Python modules (menard maranan)
 
Python inheritance (menard maranan)
Python inheritance (menard maranan)Python inheritance (menard maranan)
Python inheritance (menard maranan)
 
Python class (menard maranan)
Python class (menard maranan)Python class (menard maranan)
Python class (menard maranan)
 
Python functions (menard maranan)
Python functions (menard maranan)Python functions (menard maranan)
Python functions (menard maranan)
 
Python if else statements (menard maranan)
Python if else statements (menard maranan)Python if else statements (menard maranan)
Python if else statements (menard maranan)
 
Python tuples (menard maranan)
Python tuples (menard maranan)Python tuples (menard maranan)
Python tuples (menard maranan)
 
Python sets (menard maranan)
Python sets (menard maranan)Python sets (menard maranan)
Python sets (menard maranan)
 
Python dictionaries (menard maranan)
Python dictionaries (menard maranan)Python dictionaries (menard maranan)
Python dictionaries (menard maranan)
 
Python nested lists (menard maranan)
Python nested lists (menard maranan)Python nested lists (menard maranan)
Python nested lists (menard maranan)
 
Python lists (menard maranan)
Python lists (menard maranan)Python lists (menard maranan)
Python lists (menard maranan)
 
Python data structures (menard maranan)
Python data structures (menard maranan)Python data structures (menard maranan)
Python data structures (menard maranan)
 
Python string formatting (menard maranan)
Python string formatting (menard maranan)Python string formatting (menard maranan)
Python string formatting (menard maranan)
 
Python comments (menard maranan)
Python comments (menard maranan)Python comments (menard maranan)
Python comments (menard maranan)
 
Python indexing (menard maranan)
Python indexing (menard maranan)Python indexing (menard maranan)
Python indexing (menard maranan)
 
Slides python booleans (menard maranan)
Slides   python booleans (menard maranan)Slides   python booleans (menard maranan)
Slides python booleans (menard maranan)
 
Slides python numbers (menard maranan)
Slides   python numbers (menard maranan)Slides   python numbers (menard maranan)
Slides python numbers (menard maranan)
 
Python strings Tutorial (menard maranan)
Python strings Tutorial (menard maranan)Python strings Tutorial (menard maranan)
Python strings Tutorial (menard maranan)
 

Recently uploaded

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformWSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 

Recently uploaded (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 

Python for loops