AAbinashBapuincore-python.hashnode.dev00Chapter 7: Functions20h ago 路 7 min read 路 A function is a reusable block of code that performs a specific task. Functions help: reduce repetition organize code improve readability make programs modular Two Important Concepts Term MeaJoin discussion
AAbinashBapuincore-python.hashnode.dev00Chapter 6: Loops2d ago 路 14 min read 路 while Loop in Python A while loop is used to repeatedly execute a block of code while a condition is True. Syntax while condition: statements while keyword starts the loop condition is checked Join discussion
AAbinashBapuincore-python.hashnode.dev00Chapter 4: Dictionaries and Sets 6d ago 路 24 min read 路 Dictionaries: A dictionary is a collection of key-value pairs. A key is used to identify data. A value is the actual data associated with that key. Example: countries = { 'IN': 'India', 'GJoin discussion
AAbinashBapuincore-python.hashnode.dev00Chapter 3: Lists and TuplesMay 7 路 32 min read 路 A list in Python is an ordered collection of items. Lists are one of the most commonly used data types because they are flexible, powerful, and easy to modify. 馃敼Creating Lists: List elements are: SeJoin discussion
AAbinashBapuincore-python.hashnode.dev00Chapter 2: StringsMay 1 路 17 min read 路 A string is a sequence of characters. Characters may include: Letters Digits Symbols Spaces Python uses str type of string. Both are valid i.e single quoted or double quoted has same meaning I.eJoin discussion