
Install Python and PyCharm IDE, set up Anaconda and notebooks, and learn to run code on Windows, Mac, and Linux for machine learning basics.
Learn to download and install Anaconda, configure your environment, and launch tools like Jupyter Notebook to run beginner machine learning demos.
This session introduces variables in Python, demonstrates assigning values (x = 2, y = 8), printing them, and performing simple operations to show how variable values change over time.
Master basic Python variables and indexing concepts in this second part of the session, exploring zero-based and negative indexing, string indexing, and error handling when indices are out of range.
Explore Python basics of variables and list indexing, including zero-based indexing, accessing first and second elements, and a function to get the length of a screen name.
Discover how Python lists can hold various types and values, including integers, and contrast this with Java where such mixed lists are not possible.
This lecture demonstrates Python list operations, including appending values to the end, inserting at a specific index, and removing elements, while explaining list indexing and element positions.
Explore essential Python list operations, including indexing, popping, removing elements, and finding min and max values, plus sorting, to manipulate and analyze lists.
Boolean variables and expressions
Review the difference between:
if, if-else and elif
Relational operators
Booleans operators: and, or, not
Boolean variables and expressions
Review the difference between:
if, if-else and elif
Relational operators
Booleans operators: and, or, not
Boolean variables and expressions
Review the difference between:
if, if-else and elif
Relational operators
Booleans operators: and, or, not
Learn how Python loops enable iteration, using indentation to define the loop body and block, plus how conditions and boolean expressions control repeated execution with practical number examples.
Learn to build a simple guess the number program in Python by using loops and if conditions to implement decision making and handle user input.
Learn Python basics by generating random numbers with the random module, using examples from 1 to 20, and building foundational programming skills for absolute beginners.
Explore loops and conditional logic through a guess the number program, using while loops, if conditions, and random numbers to teach input handling, comparison, and basic software design.
Design a Python program that lets users enter scores until sentinel -9, then computes the class average, ensuring at least one score and guarding against division by zero.
See how functions organize Python code, reduce duplication, and enable reuse through a demonstration that passes parameters, calls functions, and separates logic for tasks like averaging.
Explore pass by reference and pass by value in Python, using list examples to show how parameters inside a function can reflect changes outside the function.
Learn how to define and call Python functions with required, keyword, and default arguments, including matching parameter counts, using keyword notation to bypass order, and applying default values.
Learn how Python for loops control repetition with range, starting at 0 and ending exclusive, with optional start and step; compare for loops to while loops for known repetitions.
This lecture introduces Python file handling using the open function with a file name and mode, outlining read, write, append, and create-if-not-exist options and reading content.
Learn the computational approach to problem solving, clarifying assumptions, discarding irrelevant information, and using input, process, and output with flow charts and plain English, indented algorithms.
Explore how flowcharts visually map a process using start/end, input/output, process, and decision symbols with arrows showing sequence and flow.
Explore repetition in software design by comparing while loops, do-while equivalents, and for loops, and how conditions determine how many times a block executes.
Explore problem solving using flowcharts, learn standard shapes for input, processing, output, and decisions, and model simple algorithms like summing two numbers, Celsius to Fahrenheit, and calculating areas.
Create a Python program for absolute beginners that prompts for two numbers, stores the inputs, adds them, and displays the total.
The lecture explains the selection sort algorithm by repeatedly finding the smallest element in the unsorted portion of a sixty-six-element array and moving it to the sorted front.
Learn the bubble sort algorithm by sorting a set of numbers using adjacent comparisons and swaps to achieve ascending or descending order.
The University requires a graphical display to show how many students received different grade categories for a module assessment. You are required to write a program in Python that achieves this.
Part A: Basic Program
• The program should allow the tutor to enter in the various marks awarded, until the tutor enters in a negative mark (e.g., -1).
• When a negative mark is entered, the program should display a histogram where each star represents a student who achieved a module mark in the category range: 0-29, 30-39, 40-69 and 70-100.
This example shows the output distribution for 20 marks. Your program should work with any number of marks entered.
A counter should count the number of student’s marks which have been entered. • The display should be neatly formatted. • Make use of ‘loops’ for the display of the stars for each category
0-29 ***
30-39 *****
40-69 ********
70-100 ****
20 students in total
Develop a basic program that creates a graphical display (histogram) of grade distribution, showing how many students fall into each category, as outlined by the coursework specification.
Run simple Python examples to count and categorize students by numeric ranges, observe sample groupings, and experiment with inputs to reinforce basic programming concepts.
Are you interested in learning Python programming but have no prior experience? Look no further than the Academy of Computing & Artificial Intelligence's (ACAI) Python programming course!
Our expert team, which includes PhD holders, senior lecturers, industry experts, and hiring managers, has designed a comprehensive course that will take you from absolute beginner to advanced programmer. With step-by-step guidance and guided tutorials, you'll gain hands-on coding experience in Python and learn about software design concepts such as flow charts, pseudocodes, algorithms, and modular design.
By the end of this course, you'll have a solid foundation in Python programming and the confidence to enhance your core programming skills to reach an advanced level. You'll also have an understanding of important topics such as setting up the environment, variables, lists, tuples, dictionaries, boolean operations, conditions, loops, functions, and file handling.
In addition, our course also includes live code demonstrations that show you how to apply each concept and principle. You'll get answers to your questions through our interactive Q&A sessions and gain valuable problem-solving skills.
The founder of ACAI has over 10 years of work experience as a researcher, senior lecturer, project supervisor, and engineer. He has a Master's degree in Artificial Intelligence and completed a Bachelor's degree in Software Engineering with First Class Honors from the University of Westminster in the UK. He is also a Sun Certified Java Programmer and a Sun Certified Web Component Developer, with research experience in data mining, machine learning, cloud computing, business intelligence, and software engineering.
Enroll in our Python programming course today and gain the skills and knowledge to excel in the IT, computer science, engineering, or data science sectors. With ACAI, you'll receive top-notch training from industry experts who are passionate about helping you succeed.
By the end of these videos, you will have a solid understanding of the following areas:
Python programming
Setting up the programming environment
Python for absolute beginners, including how to set up the environment with Anaconda, and working with variables, lists, tuples, and dictionaries
Boolean operations
Conditions and loops, including sequence, selection, and repetition/iteration
Functions
File handling in Python
Flow charts
Algorithms
Modular design
Introduction to software design and problem-solving
Software design, including flowcharts for sequence and modular design, and repetition
Flowchart questions and answers for problem-solving.