# print(greetings[0:5]) # slicing# the string from index 0 - 4 upto but not including 5 # print(greetings[-1]) # slicing string from the last index position ...
Python Chapter 2: Strings & Conditional Statements 🚀 This repository contains fundamental Python concepts, including string manipulation, indexing, conditional statements, and practice exercises. 📌 ...