
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Learn Python in a day with 6 projects introduces beginners to Python as a fun, easy go-to language, covering core programming concepts and delivering six working applications.
Install Python by searching on Google and following the first link to the Python 3.6 download page.
learn to run Python online without installation using a split editor and an interactive shell, type code line by line or run saved programs, and bookmark for quick access.
Develop a bmi calculator by learning variables, functions including a format function, input, and if else statements to compute bmi from height and weight; view the final practical project.
Explore Python data types, focusing on integers and strings in the interactive shell. Learn how type correctness prevents errors and prepares you for variables in the next lesson.
Learn how to use variables in Python to store data, assign and update values (x=5, then x=10, y=30), and compute x+y.
Learn to use built-in Python functions like print, str, and int to convert between strings and integers, format outputs, and handle type casting in practical projects.
Explore the format() built-in Python function, learn how to replace placeholders with variables, convert numbers to strings, and format outputs such as years.
Learn how to use the input() built-in function to read a height in centimeters, convert it to an integer, divide by 100 to get meters, and display the result.
Define your own function with def, call it, and print results, demonstrated by a BMI function that asks for height and weight, converts cm to m, and computes BMI.
Build a bmi calculator with if/elif/else to tailor feedback by height and weight. Compute bmi as weight over meters squared, format to two decimals, and show underweight, normal, or overweight messages.
Save your BMI app code by copying from the interactive session into a new desktop folder, name the file, and run the function to calculate BMI from input.
Create lists in Python with square brackets to store color codes, access elements by index starting at zero, and extend, insert, or move items.
Explore how to use Python's random module to select a lucky color from a color list, using ranges and random choices with for loops.
Create a Python project that uses a color list and a random function to guess your lucky color, with up to three attempts and user feedback.
Explore how a set stores unique lottery numbers, ignores duplicates, and has no order when you add numbers. Use set intersection to find matches and determine prizes.
Practice implementing a while loop to prompt user input, exit on quit, and avoid infinite loops, including generating six lottery numbers with random and sets between 1 and 20.
Explore the difference between global and local variables, how scope affects access inside functions, and how to modify global variables using the global keyword.
Explore how values are passed to functions through parameters, how the first and second parameters are assigned to x and y, and how local variables affect the returned outcome.
Learn to extract keys, values, and items from a dictionary, then loop through keys to print them and their associated values using simple placeholders.
Learn to implement exception handling in a vocabulary app, validate word, definition, and data inputs, and use split with a separator to manage long text.
Create a Python vocabulary revision project that builds a key-value dictionary, prints definitions, and quizzes with input, scoring, and options to skip or quit.
Build a 100 game application in python, exploring objects, parsing objects, and inheritance. Apply these concepts in a witch hunter project where attacking witches earns points and levels you up.
Define a class as a blueprint, instantiate objects with a constructor, initialize name and level, use a representation method to show attributes, and compute attack using random scaled by level.
Learn how to pass objects between game entities, implement a hunter and a witch with attributes like name and level, and compute attacks and damage using level-based randomization.
Learn the concept of inheritance by creating a base class and a subclass, using super to initialize and override methods like attack, and exploring base and modified attack values.
This lecture guides building a Python hunter game (part 1), defining hunter and witch classes, battle logic with random attacks, critical hits, and formatted damage output.
Build a hunter game in Python by instantiating a hunter with a random level and generating witches with random levels, then drive an interactive loop to attack or stop chasing.
build a python to-do list app, add items to the list, and read from or write to a file as part of the project.
Learn to read and write files in python by creating a to-do list, opening a file, reading lines with a loop, handling newlines, pruning empty strings, and closing automatically.
Learn how to write a file in pipeful, define a function, and override the regional file with your text, with hands-on testing of basic file-writing concepts.
Build a Python to-do list with file persistence by adding, removing, indexing tasks, and saving updates via a user menu.
Create a final to-do list project feature by building a command-line menu, collecting user input, and parsing task descriptions and indices with string split and integer conversion.
Visit the resources page to access the Git repository and download the Python project source code for Learn Python in a Day with 6 Projects.
Have you ever imagined yourself being able to "communicate" with your computer and build applications that can work in a way that you want? Have you ever imagined telling your friends that you know how to code?
Programming is one of the very important skills that people value a lot in this era. Not only it can help you get a well-paid software engineer job, but it can also train your brain to think in a logically manner. We are sure you agree with that but you are not sure where and how to start. You may be scared by the complicated programming concept, or you may be scared away by the unfriendly code. Don't worry, in this course, we will guide you how to create your first python application step by step.
What is Python?
Python is a simple, intuitive, yet powerful programming language. It is an high-level programming language invented back in 1991. It is a go-to language for beginners because it is so easy and expressive. You can often express concepts with very few lines of code. That's why we choose Python as the programming language for this course!
However, don't have a misunderstanding that Python is only for beginner. It is used in many areas including data analysis, finance, scientific research, artificial intelligence etc. Python is a very powerful programming language and is well supported the community. There are lots of useful packages like Numpy, Scipy etc. It is a programming language that supports multiple programming paradigms like procedural, functional, object-oriented etc.
In a nutshell, if you can only learn one programming language, Python is your choice!
What exactly will you learn?
This course has a goal, which is to teach you the basic programming skills that you need in one day!
We understand everyone is busy. We therefore specially design this course to be a quick crash course. And it is okay even if you don't have any programming experience. In this course, no experience is required!
You will learn all the important programming concept using Python as the programming language. We will teach you by using 6 different applications as an example.
6 different applications you will write
Apart from the above, there are simple programming assignments in the course as well. I hope with this little challenges, you can learn better. And if you come across any questions during the course, feel free to raise it. We are here to make sure you enjoy your learning process.
Who are the instructors?
We are coming from a software engineering background. We have built sophisticated systems for investment banks. You can see our information in our Udemy profile.
Instructors: Jack Chan, Henry Tang
Course Designer: Raymond Chung
Money back guaranteed!
We are so confident about our course. We are so sure that you will enjoy the course as well. Therefore we provide money back guaranteed. After you have enrolled the course and if you don't like it, you can have your money back! It is unconditional, Udemy backed, 30 days money-back guarantee so you can try this course risk free!
Sign up for our course today, and let us help you to start your programming journey!