
Learn to declare and assign Python variables, follow naming rules and case sensitivity, use expressions, perform multiple assignments, and print results.
Learn to swap two variables in Python using a temporary variable or without one, showing before and after values and methods with addition, subtraction, and bitwise XOR.
Learn Python datatypes from numbers and booleans to strings, covering arithmetic operations, type conversion, floor division, complex numbers, boolean logic, and string methods like upper, lower, and split.
Explore how if statements in Python evaluate boolean expressions, compare values using operators, and structure code with indentation; learn basic syntax and an example with importing from modules.
Explore how to use Python if statements to check whether an input integer is positive, negative, or zero, print the result, and add more conditions with additional if constructs.
Learn how Python's if-else statements evaluate conditions and run the corresponding code block, with an example using x = 2**3, y = 3**2, and x < y.
Explore Python if-else statements with practical examples, including checking even numbers and comparing two values for equality using user input. Learn to implement full if-else blocks and print results clearly.
Explore Python's elif statements by comparing two numbers to determine if one is greater, less, or equal, and print clear relational messages with practical examples.
Explore how to use for loops to iterate over lists, ranges, and strings, printing elements and filtering odd or even numbers. Learn to compute factorials with a loop.
Explore break and continue statements in a for loop over 1 to 10; break stops at five, while continue skips five and prints six to ten.
This lecture covers tuples in Python, showing how to create them with parentheses and commas, access elements by index, and perform slicing, with examples like 1, 2, 3.
Learn how to manipulate tuples by converting them to lists. Append, pop, and modify elements, then convert back to tuples with practical country examples.
Explore how to index and slice tuples in Python, using positive and negative indexing, membership checks, and range-based selections with optional steps.
Explore common set operations in Python - add, clear, copy, discard, pop, remove, subset and superset checks, difference, symmetric difference, intersection, and union - with examples.
Explore Python set operations: discard, intersection, disjoint, subset, and superset checks with practical examples. See pop remove a random element and union of two sets, noting unordered results.
Learn to write a Python program that finds even numbers in a list by testing modulo two and printing evens, and see how to switch to odd numbers.
Learn how to interchange the first and last items in a Python list by swapping list[0] with list[-1], as shown with the sample list 1, 2, 3, 4, 5.
Learn to check whether a Python list is empty using a custom is_empty function, with examples of an empty list and a non-empty list and their printed results.
Identify elements in a list that appear an odd number of times by counting frequencies with count and appending them to a result list.
Learn how to remove duplicates from a Python list by converting it to a set and back to a list, preserving unique elements with a simple example.
Define a find_union function to compute the union of two lists by copying list one, then adding elements from list two not already present, and printing the result.
Explore the basics of strings in Python by iterating characters, indexing, measuring length, counting occurrences, joining string lists, and using endswith and capitalize to manipulate text.
Develop a Python function that counts letters, digits, and special symbols in a string, using a loop and dedicated counters, and display the results.
Develop a character count tool by iterating a string and updating a dictionary with each character's occurrences, illustrated with the apple example.
Remove empty strings from a list by iterating and building a non-empty resultant list, then verify results. Explore using the built-in filter function as an alternative approach.
Learn to reverse a string in Python using slicing with negative indices and by applying the reverse function with join, illustrated by the hello example.
Learn how to define and use Python functions, pass parameters, return values, and document them with docstrings, with examples like squaring numbers and computing min and max from a list.
Explore defining and using functions to compute the square and cube of a number, pass parameters, return results, and follow the program flow through function calls.
This lecture explains how to define a function that finds the maximum of three numbers, using if statements to compare a, b, and c, and returning the largest value.
Implement a factorial function in Python using iterative and recursive approaches, compute 5 factorial as 120, and display the result.
Compute a factorial using recursion by defining a base condition: if n is 0 or 1, return 1; otherwise return n * fact(n-1). Running with input 4 yields 24.
Write a program to print the Fibonacci sequence using recursion by taking the number of terms as input, and define a recursive fib function with base cases 0 and 1.
Explore modules in Python, containing functions and variables, and access them via import statements. Learn importing everything or selecting specific names from the math module.
define a vehicle class in python with max speed and mileage attributes, implement __init__, create and display an object, update values, and explore a blank class using pass.
Create a Python rectangle class with length and width, implement an area method that returns length times width, and instantiate with 12 and 10 to display 120.
Create a Python class named circle that initializes with a radius and implements area and perimeter methods to compute pi-based circle values using 3.14.
In this Python banking module, define an account class with deposit, withdraw, and enquiry methods to manage a bank account balance and support deposits, withdrawals, and balance checks.
Here, we implement solution for the same.
Learn how to access NASA Mars rover images using Python, authenticate with an API key, and fetch Spirit, Opportunity, or Curiosity photos via rover picks and camera choices.
Learn to extract Mars rover images and tweet updates using Python, handling cases where no media is captured versus when images exist, including rover name, date, and camera.
Forge partnerships with educational institutions and tech giants to deliver high quality, industry-aligned training that evolves with the digital landscape, empowering lifelong learning to lead in a global market.
This course is designed to brush up basics in Python programming and Show how python is used in Space sciences.
Delving into the world of coding can be intimidating. With so many complex languages and implementation possibilities, it's easy to become overwhelmed. By starting off with Python programming, you'll learn a simple, versatile and highly readable code that you can execute on a wide variety of systems quickly and easily.
Learn a simple, streamlined coding language quickly and easily
If you've never written a single line of code or if you're well-versed in multiple program languages, Python Programming for Beginners will enable you to better understand programming concepts.
Widely regarded as one of the most simple and versatile programming languages out there, Python is used for web programming, video game building, microchip testing, desktop apps, and so much more. Used by programmers, developers, designers and everyone in between, it's one of the easiest programming languages to learn, and definitely the best starting point for new coders. This course will not only give you an understanding of the code, but will enable you to create and run real world Python programs too.
Master one of the most popular programming languages in the world
Gain a knowledge of basic programming concepts
Understand and implement basic Python code
Create and run a real-world Python program
The following topics are taught in Python :
1) Basics of python
2) Control structures in python
3) Containers in python
4) Working with Lists in python
5) Exploring Strings
6) Functions, Recursion & Modules in python
7) OOPS in Python
8) Python to communicate with NASA Mars Rovers.