
Explore how to set up PyCharm for Python development, configure the interpreter, create projects and folders, write and run .py files, and use basic editing shortcuts.
All files have py extension as you know. Please install pycharm and then use them. All modules are compressed in zipped. So, you need to download and then extract the files using winzip
Explore the Python print function, detailing end and separator parameters, how default spaces and newlines affect multi-line output, and how to format prints with custom separators and line breaks.
Explore strings in Python by indexing and slicing: access characters by zero-based indices, use negative indices for the last characters, and practice slicing to retrieve middle or any position.
Learn Python string slicing: start from zero, use up to as the end (exclusive), and optionally skip characters to extract every nth substring.
Master reversing strings in Python by slicing from the end with negative indices, learn how bounds exclude or include characters, and practice with examples and reverse-order logic.
Master the split method in Python by setting a delimiter to divide strings into a list, as spaces or commas create separate items, with basic list concepts and slicing ideas.
Explore python's arithmetic operators, including plus, minus, multiply, divide, exponentiation with double star, modulus and floor division, with hands-on examples that illustrate remainders.
Explore Python comparison operators, including equals, greater than, less than, and their combinations. Learn that double equals compares, while single equals assigns, and not equals uses exclamation point and equals.
Explore logical operators in Python, including and, or, and not, to combine multiple conditions in if statements. Learn how case sensitivity affects comparisons and how not reverses true/false results.
Explore writing if conditions in Python, using colons and indentation to handle true and false paths. See how all subjects have greater than 70 yield a pass, otherwise fail.
Explore how to use if and elif in Python to handle multiple conditions, including score ranges for pass, wait, re-attempt, and fail, with clear indentation rules.
Explore how indentation defines if blocks and how elif and else control flow, contrasting single-branch if-elif with separate if blocks, using score examples to show execution.
define and manipulate lists in python as a data type for multiple values, using square brackets with text or numeric items, and apply indexing and slicing.
Change values in lists by assigning new elements using indices and slices, including zero-based and negative indices, to replace single items or multiple elements.
Learn to insert values into a Python list using the insert method by index, see how original values remain, and print the updated list.
Learn to remove and delete list items in Python using remove, pop, del, and clear, access methods with the dot operator, and use append or insert to add data.
Explore practical use of for loops on lists, including iterating with range, list length, and indexing. Learn how to access values, apply if conditions, and perform calculations on data.
Run a Python project that checks each number in a list for even or odd status by remainder when divided by two, iterating with a loop and printing results.
Learn to filter names by score from two aligned lists using a for loop, selecting scores above 70 and building a resulting name list for data analysis.
Learn how to use the in and not in operators in Python for membership tests in strings and lists, with examples like 'a' in 'mango' and 20 in score.
Learn how to write Python if statements in one line, with or without an else block, to control output based on a condition.
Sort Python lists by characters alphabetically and numbers by value using sort; control ascending or descending with reverse, and achieve case-insensitive sorting by converting to lowercase.
Learn to reverse a list, copy a list, and join lists to combine sports and medals. Build a new list by filtering with conditions and appending items using loops.
Learn to replace multiple loops with a single loop using the zip function, merging parallel lists like sports and medals and applying conditional filters in one pass.
Learn how to delete and loop through a tuple by converting to a list, removing items, and converting back, while using for loops, range, and the length function.
Learn to handle genuine runtime errors in Python with try and except, preventing division by zero crashes and using graceful fallbacks like alternative calculations and informative messages.
Create and call user defined functions in Python to perform calculations, pass parameters, handle arguments, and use if-else logic for correct subtraction and addition results.
Create a python function name_output that formats a user-entered name. If longer than ten characters, output last name followed by first name; otherwise keep first name then last.
Explore function basics in python, including parameters and arguments, default arguments, positional versus keyword arguments, and how missing or extra arguments trigger errors, with practical examples.
Use a star argument to accept any number of function inputs, collect them as a tuple, and process or sum the values dynamically.
In this Part1, I will teach you Python on my favorite IDE - Pycharm however you can use any other IDLE ,If you wish to. It does not matter at all. Code works the same way.
What are variables and data type used in Python
Declare variables and function to know the data type
How to use constructors and why do we need to learn them.
Know in and not in operators, logical operators, comparison and arithmetic operators
How to pick up the error descriptions and solve the errors using them
How to use for loops and do loops and use them with IF statements
How to use Nested IFs and how to take care of indentations - Very important concept
What are functions in Python and how to create user defined functions
Rules to know before creating a Function
Scope of a variable - Local and Global concepts
Deep dive into Lists and use of lists in Loops with IF Statements
In detail learning about Tuples and use with Loops and every crucial method we should know.
Strings data types and their accessing approach plus methods to handle data
What are error handlers and how to use them.
Introduction to a random module and where you can use it.
Create a Guess a number game using Loops and lists
Create a project to identify odd and even numbers
Create a project to guess and number but this time user should be given 3 attempts
Find out which game has won the highest medals using two lists.
Print function with every small detail . Its parameters like Sep and end - how to use them
F string advantage over normal text if you write in Print function
How to call and import modules or its functions within the directory and outside the directory
My assistance to your questions and replies