Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Python for absolute beginners
Rating: 3.9 out of 5(293 ratings)
12,707 students

Python for absolute beginners

Learn Python and programming fundamentals with this Python tutorial for absolute beginners.
Created byMarta Rey
Last updated 3/2020
English
English

What you'll learn

  • Python
  • Programming fundamentals

Coding Exercises

This course includes our updated coding exercises so you can practice your skills as you learn.

See a demo
Image of coding exercise example

Course content

1 section13 lectures31m total length
  • Introduction0:52
  • What is python and how to install1:35

    Define programming languages as vocabularies and rules for instructing a computer, highlighting Python as a readable general purpose language; install via the official site and verify with python3.

  • Display a message - print function1:40
  • What are variables1:53
  • Datatypes2:27
  • Make a decision - If statements2:54

    Proposed exercises

    1. Write a program to check whether a number is negative, positive or zero

    Solution: https://github.com/martika810/python_for_abs_beginners/blob/master/if_statements/if_ex1.py


    2. Write a program to check whether a character is alphabet or not

    Solution: https://github.com/martika810/python_for_abs_beginners/blob/master/if_statements/if_ex2.py


    3. Write a program to input week number and print week day

    Solution: https://github.com/martika810/python_for_abs_beginners/blob/master/if_statements/if_ex3.py


    4. Write a program to count total number of notes in given amount 200,100,50,20,10,5

    Solution: https://github.com/martika810/python_for_abs_beginners/blob/master/if_statements/if_ex4.py



    5. You are looking for a new member to expand your programming.It should be a person from ages 18 to 40

    Write a program to ask the user’s age and whether the user has previous python experience(using 'y' or 'n').

    Display a message indicating whether the person is eligible to join your team.

    Solution: https://github.com/martika810/python_for_abs_beginners/blob/master/if_statements/if_ex5.py


  • If statements - Proposed exercises
  • Repeating a task - For loops2:43

    Proposed exercises

    1. Print all natural numbers (from 1 to 10) in reverse order

    Solution: https://github.com/martika810/python_for_abs_beginners/blob/master/for_loops/for_ex1.py


    2. Print all even numbers between 1 to 100

    Solution: https://github.com/martika810/python_for_abs_beginners/blob/master/for_loops/for_ex2.py


    3. Find sum of all natural numbers between 1 to n

    Solution: https://github.com/martika810/python_for_abs_beginners/blob/master/for_loops/for_ex3.py


    4. Print the multiplication table of any number

    Solution: https://github.com/martika810/python_for_abs_beginners/blob/master/for_loops/for_ex4.py


  • For loop - Practice3:11

    Practice for loops by printing the multiplication table of three using string concatenation for each line from zero to ten. Convert integers to strings and complete the class exercises.

  • Repeating a task - While loops3:30

    Proposed exercises

    1. Print all natural numbers (from 1 to 10) in reverse order

    Solution: https://github.com/martika810/python_for_abs_beginners/blob/master/while_loops/while_ex1.py


    2. Print all even numbers between 1 to 100

    Solution: https://github.com/martika810/python_for_abs_beginners/blob/master/while_loops/while_ex2.py


    3. Find sum of all natural numbers between 1 to n

    Solution: https://github.com/martika810/python_for_abs_beginners/blob/master/while_loops/while_ex3.py


    4. Print the multiplication table of any number

    Solution: https://github.com/martika810/python_for_abs_beginners/blob/master/while_loops/while_ex4.py


  • While loops - Practice1:42

    Practice using a while loop to implement a multiplication exercise, starting from zero and incrementing the multiplier until 11, with the multiplication table for number three displayed.

  • Loops - Proposed exercises
  • How to create functions4:01

    Proposed exercises

    1. Find sum of all natural numbers between 1 to n using functions

    Solution: https://github.com/martika810/python_for_abs_beginners/blob/master/functions/function_ex1.py


    2. Print the multiplication table of any number using functions

    Solution: https://github.com/martika810/python_for_abs_beginners/blob/master/functions/function_ex2.py


  • Functions - Proposed exercises
  • Functions assignment 1
  • Functions assignment 2
  • Functions assignment 3
  • Guessing Game3:57

    Create a Python guessing game with a random number from 1 to 10, using a loop and input to reveal 'secret greater' or 'secret smaller' for up to max tries.

  • Thanks for watching the course!1:14

    Discover basic programming blocks such as if statements, loops, and functions, and apply them to a data scheme game, motivated by a project example with Bassam.

Requirements

  • You should know basics about computer, like open a program, save a file, etc

Description

Learn Python programming with this Python tutorial for absolute beginners. You will learn the basic of programming. You don't need to know anything about programming to follow this tutorial however you should know basic about computer, like open a program, save a file, etc. By the end of this tutorial you will be able to program a guessing game

Who this course is for:

  • Beginner Python developers