Codecademy – Python: Tutorial #12

Home/Programming Video Tutorials/Python Video Tutorials/Codecademy – Python: Tutorial #12

Codecademy – Python: Tutorial #12

FavoriteLoadingAdd to favorites

Enroll for coding exercises, projects, tutorials, and courses…
http://cleverprogrammer.to/enroll

This is part 12 of the Codecademy Python Walkthrough Tutorial. It covers topics like OOP, object oriented programming, dictionaries as objects, lists inside dictionaries, stepping through algorithms, dependent functions, nested function calls, built-in functions, weighted averages, for loops, control flow, conditional statements advanced functional concepts, and much more!

======================= ABOUT PYTHON CODECADEMY SERIES =================
This is meant to guide you through the codecademy python part and it also to help you get a much better understanding of the code that you to write according to the instructions on CodeCademy.com. This will help you understand many programming concepts and the concepts that are tricky, I open up an interactive prompt and I will also ask you questions along the way to keep it more interactive for you. I believe teaching only works when you actively engage.

The target audience are beginners or developers looking to pick up Python. I also emphasize the importance of writing good code and I go through the first part really fast.

I will literally be going through every single thing and breaking it down for you so there is nothing for you that would be scary. You can watch me do it and you can simply follow along you will learn ALL the basics. I swear I wish something like this was out there when I started learning because everyone else explains things in such a complicated way and makes it so boring! I honestly think programming is based upon exploration and creativity rather than some mathematical/logical genius frame of mind! I spent a lot of hard work in making this so I hope you guys enjoy and learn something out of it while having fun! This is targeted towards beginners, for developers looking to learn python, or for individuals looking for a refresher on basics in computer programming!!

============================= CHANNEL INFO ============================
Clever Programmer
Instagram: https://www.instagram.com/clever_prog…
Website: http://www.CleverProgrammer.com
This Video: https://youtu.be/T-kkzdLvV_A …

★☆★ LIVE 1-ON-1 CODING SESSION: ★☆★
https://goo.gl/rXohFR

★☆★ FREE Lesson 1: The Most Important Thing For a Successful Programmer★☆★
https://goo.gl/LwgTHk

Enroll for coding exercises, projects, tutorials, and courses…
http://cleverprogrammer.to/enroll ————————————
Clever Programmer
Website ► http://cleverprogrammer.com
Facebook ► http://cleverprogrammer.to/facebook
Twitter ► http://cleverprogrammer.to/twitter
Instagram ► http://cleverprogrammer.to/instagram
YouTube ► https://www.youtube.com/c/CleverProgr…
Snapchat ► Rafeh1 …
Github (Code) ► http://cleverprogrammer.to/github

By | 2017-06-06T01:31:06+00:00 June 6th, 2017|Python Video Tutorials|11 Comments

11 Comments

  1. Slimex PvP June 6, 2017 at 1:33 am - Reply

    you derserve this

  2. jczapa7 June 6, 2017 at 1:40 am - Reply

    Amazing! Lot of stuff makes sense once u get here. Using Python 3 alongside great idea

  3. Sharaj Panwar June 6, 2017 at 1:49 am - Reply

    where is no 13? plz give the link / thnx 🙂

  4. # Jarvis June 6, 2017 at 1:49 am - Reply

    lloyd = {
    "name": "Lloyd",
    "homework": [90.0, 97.0, 75.0, 92.0],
    "quizzes": [88.0, 40.0, 94.0],
    "tests": [75.0, 90.0]
    }
    alice = {
    "name": "Alice",
    "homework": [100.0, 92.0, 98.0, 100.0],
    "quizzes": [82.0, 83.0, 91.0],
    "tests": [89.0, 97.0]
    }
    tyler = {
    "name": "Tyler",
    "homework": [0.0, 87.0, 75.0, 22.0],
    "quizzes": [0.0, 75.0, 78.0],
    "tests": [100.0, 100.0]
    }

    # Add your function below!
    def average(numbers):
    total = sum(numbers)
    total = float(total)
    return total / len(numbers)
    def get_average(student):
    homework = average(student["homework"])
    quizzes = average(student["quizzes"])
    tests = average(student["tests"])
    weighted_homework = homework * .10
    weighted_quizzes = quizzes * .30
    weighted_tests = tests * .60
    return weighted_homework + weighted_quizzes + weighted_tests
    def get_letter_grade(score):
    if score >= 90:
    return "A"
    elif 90 > score >= 80:
    return "B"
    elif 80 > score >= 70:
    return "C"
    elif 70 > score >= 60:
    return "D"
    else :
    return "F"
    print get_letter_grade(get_average(lloyd))
    print get_average(lloyd)

  5. Zeshan Syed June 6, 2017 at 1:52 am - Reply

    bam! first. This series is off the hook!!!!

  6. Raihan Islam June 6, 2017 at 2:02 am - Reply

    HALLALUYEAH IM FINALLY HERE XD

  7. Devain Pal Bansal June 6, 2017 at 2:05 am - Reply

    ==================================================THIS IS BETTER====================================================

    lloyd = {
    "name": "Lloyd",
    "homework": [90.0, 97.0, 75.0, 92.0],
    "quizzes": [88.0, 40.0, 94.0],
    "tests": [75.0, 90.0]
    }
    alice = {
    "name": "Alice",
    "homework": [100.0, 92.0, 98.0, 100.0],
    "quizzes": [82.0, 83.0, 91.0],
    "tests": [89.0, 97.0]
    }
    tyler = {
    "name": "Tyler",
    "homework": [0.0, 87.0, 75.0, 22.0],
    "quizzes": [0.0, 75.0, 78.0],
    "tests": [100.0, 100.0]
    }

    def average(numbers):
    total = sum(numbers)
    total = float(total)
    return total/len(numbers)

    def get_average(student):
    homework= average(student[‘homework’])
    quizzes = average(student[‘quizzes’])
    tests = average(student[‘tests’])

    return 0.1*homework + 0.3*quizzes + 0.6*tests

    def get_better_grade(score):

    term = get_average(score)
    if term >= 90.0:
    return "A"
    elif term >= 80.0:
    return "B"
    elif term >= 70.0:
    return "C"
    elif term >= 60.0:
    return "D"
    else:
    return "F"

    print get_better_grade(lloyd)
    print get_better_grade(alice)
    print get_better_grade(tyler)

    ========================================USING THIS I MADE=================================================================================

    the_student = {
    "name": [],
    "homework": [],
    "quizzes": [],
    "tests": []
    }

    the_student["name"] = raw_input("Enter the student name: ")
    the_student["homework"] = [input("Homework score 1: "),input("Homework score 2: "),input("Homework score 3: "),input("Homework score 4: ")]
    the_student["quizzes"] = [input("Quizz score 1: "),input("Quizz score 2: "),input("Quizz score 3: ")]
    the_student["tests"] = [input("Test score 1: "),input("Test score 2: ")]

    def average(numbers):
    total = sum(numbers)
    total = float(total)
    return total/len(numbers)

    def get_average(student):
    homework= average(student[‘homework’])
    quizzes = average(student[‘quizzes’])
    tests = average(student[‘tests’])

    return 0.1*homework + 0.3*quizzes + 0.6*tests

    def get_better_grade(score):

    term = get_average(score)
    if term >= 90.0:
    return "A"
    elif term >= 80.0:
    return "B"
    elif term >= 70.0:
    return "C"
    elif term >= 60.0:
    return "D"
    else:
    return "F"

    print get_better_grade(the_student)

  8. Slimex PvP June 6, 2017 at 2:06 am - Reply

    awesome 100 subs

  9. alexander nunes June 6, 2017 at 2:13 am - Reply

    Great lesson chief, super well done!

  10. pete r. June 6, 2017 at 2:21 am - Reply

    Great!

  11. Alistini24 June 6, 2017 at 2:29 am - Reply

    your are so good at explaining pls keep going never end!!!!!!!!!!!!!!!!!!!!!!

Leave A Comment

*