Python Loops and Strings at Global Quest Technologies

🚀 Day 7 of My Python Full Stack Development Journey Continuing my training at Global Quest Technologies, Yelahanka. Today’s session focused on loops and strings in Python, which are very important for writing efficient and structured programs. 📌 Concepts Covered 🔹 Loops in Python Learned about the two main types of loops in Python: for loop – used when we want to repeat a block of code for a specific number of times or over a sequence while loop – used when we want to repeat a block of code as long as a condition is true We also practiced examples using both for and while loops. 🔹 Strings Understood that a string is a sequence of characters used to store text in Python. 🔹 Multiline String Literals Learned how to write strings in multiple lines using triple quotes, which is useful for storing long text. 🔹 Accessing Individual Characters Using Index Explored how to access each character in a string using indexing. Example: In "Python" s[0] gives P s[1] gives y 🔹 Slice Operator Learned how to extract a part of a string using the slice operator. Example: For "Python" s[0:3] gives Pyt s[2:6] gives thon Today’s session helped me understand how loops reduce repetitive work and how strings can be accessed and manipulated in Python. Step by step, I’m building a stronger foundation in Python and moving forward in this learning journey. 💻 #Python #FullStackDevelopment #LearningJourney Global Quest Technologies #Programming G.R NARENDRA REDDY Global Quest Technologies

  • No alternative text description for this image

To view or add a comment, sign in

Explore content categories