[{"@context":"https://schema.org","@type":"Course","@id":"https://www.codecademy.com/learn/learn-python","name":"Learn Python 2","description":"Learn the basics of the world's fastest growing and most popular programming language used by software engineers, analysts, data scientists, and machine learning engineers alike.","provider":{"@type":"Organization","name":"Codecademy","url":"https://www.codecademy.com/"},"publisher":{"@type":"Organization","name":"Codecademy","url":"https://www.codecademy.com/"},"timeRequired":"PT17H","isAccessibleForFree":true,"offers":{"@type":"Offer","category":"Partially Free","price":"0.00","priceCurrency":"USD","availability":"https://schema.org/InStock"},"image":["https://static-assets.codecademy.com/assets/course-landing-page/meta/16x9/learn-python.jpg","https://static-assets.codecademy.com/assets/course-landing-page/meta/4x3/learn-python.jpg","https://static-assets.codecademy.com/assets/course-landing-page/meta/1x1/learn-python.jpg"],"coursePrerequisites":[],"teaches":["Understand fundamental Python programming concepts ","","Practice Python syntax","","Create and use functions in Python"],"educationalLevel":"Beginner","aggregateRating":{"@type":"AggregateRating","ratingValue":4.26,"ratingCount":7548},"inLanguage":"en","syllabusSections":[{"@type":"Syllabus","name":"Python Syntax","description":"In this course, learn about the syntax of the Python programming language!"},{"@type":"Syllabus","name":"Strings and Console Output","description":"This course will introduce you to strings and console output in Python."},{"@type":"Syllabus","name":"Conditionals and Control Flow","description":"Learn how to use conditionals and control flow to create programs that generate different outcomes. "},{"@type":"Syllabus","name":"Functions","description":"Learn how to create and use functions in Python!"},{"@type":"Syllabus","name":"Lists & Dictionaries","description":"In this course, you will learn about the data structures lists and dictionaries."},{"@type":"Syllabus","name":"Student Becomes the Teacher","description":"Use what you've learned so far to manage your own class."},{"@type":"Syllabus","name":"Lists and Functions","description":"Now that you've learned about lists, let's turbo-charge them with functions."},{"@type":"Syllabus","name":"Loops","description":"Learn about 'while' and 'for' loops in Python."},{"@type":"Syllabus","name":"Exam Statistics","description":"In this project, we'll write a program to compute test scores."},{"@type":"Syllabus","name":"Advanced Topics in Python","description":"Learn some of the more complex aspects of Python, including data structures, list comprehensions, list slicing, and lambda expressions."},{"@type":"Syllabus","name":"Introduction to Classes","description":"Learn what classes are, why they're important, and how to use them effectively."},{"@type":"Syllabus","name":"File Input and Output","description":"Apply what you've learned about Python to a real-world application."}],"educationalCredentialAwarded":{"@type":"EducationalOccupationalCredential","name":"Codecademy Certificate","credentialCategory":"Certificate","url":"https://help.codecademy.com/hc/en-us/articles/220443468-Codecademy-Certificates-of-Completion"},"hasCourseInstance":[{"@type":"CourseInstance","courseMode":"Online","courseWorkload":"PT17H"}],"totalHistoricalEnrollment":1116117},{"@context":"https://schema.org","@type":"Product","name":"Learn Python 2","description":"Learn the basics of the world's fastest growing and most popular programming language used by software engineers, analysts, data scientists, and machine learning engineers alike.","brand":{"@type":"Organization","name":"Codecademy","url":"https://www.codecademy.com/"},"offers":{"@type":"Offer","category":"Partially Free","price":"0.00","priceCurrency":"USD","availability":"https://schema.org/InStock"},"image":["https://static-assets.codecademy.com/assets/course-landing-page/meta/16x9/learn-python.jpg","https://static-assets.codecademy.com/assets/course-landing-page/meta/4x3/learn-python.jpg","https://static-assets.codecademy.com/assets/course-landing-page/meta/1x1/learn-python.jpg"],"aggregateRating":{"@type":"AggregateRating","ratingValue":4.26,"ratingCount":7548}},{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[]}]
| Skip to Content | https://www.codecademy.com/learn/python#container-landing-page-heading |
| Explore features | https://try.codecademy.com/ai |
| practice ProjectTip CalculatorIn this project, we're going to practice syntax in Python so you can hone your skills and feel confident taking them to the real world.
Why? You've done a great job so far on your quest to learn Python. Let's build something to solidify your newfound knowledge. | https://www.codecademy.com/courses/learn-python/projects/tip-calculator-project |
| practice ProjectPython Mad LibsIn this project, we're going to practice inputs and print in Python so you can hone your skills and feel confident taking them to the real world.
Why? Being able to take inputs and print results is a key part of programming. | https://www.codecademy.com/courses/learn-python/projects/madlibs-1 |
| practice ProjectArea CalculatorIn this project, we're going to practice functions and conditionals in Python so you can hone your skills and feel confident taking them to the real world.
Why? Ever wanted to automate your math homework? Time to build something in Python that does just that. | https://www.codecademy.com/courses/learn-python/projects/area-calculator |
| ArticleWhat is Python?What is Python, and what can it do? | https://www.codecademy.com/article/what-is-python |
| ArticlePython Syntax Guide for BeginnersLearn Python syntax with this beginner-friendly guide. Understand Python indentation, print statements, variables, comments, user input, and more with examples. | https://www.codecademy.com/article/learn-python-python-syntax |
| ArticleHow to Build a Python Script: A Beginner’s Guide to Python ScriptingLearn scripting and how to build Python scripts from scratch. Set up your environment, structure your code, run the script, and explore real examples with tips to get started. | https://www.codecademy.com/article/python-scripting |
| CourseLearn Python 3 | https://www.codecademy.com/learn/learn-python-3 |
| Free coursePython for Programmers | https://www.codecademy.com/learn/python-for-programmers |
| Career pathData Engineer | https://www.codecademy.com/learn/paths/data-engineer |
| Python | https://www.codecademy.com/catalog/language/python |
| Data science | https://www.codecademy.com/catalog/subject/data-science |
| Code foundations | https://www.codecademy.com/catalog/subject/code-foundations |
| Computer science | https://www.codecademy.com/catalog/subject/computer-science |
| Web development | https://www.codecademy.com/catalog/subject/web-development |
| For business | https://www.codecademy.com/catalog/subject/for-business |
| Data analytics | https://www.codecademy.com/catalog/subject/data-analytics |
| JavaScript | https://www.codecademy.com/catalog/language/javascript |
| IT | https://www.codecademy.com/catalog/subject/information-technology |
| View full catalog | https://www.codecademy.com/catalog |
| See pricing and plans | https://www.codecademy.com/pricing |
| About | https://www.codecademy.com/about |
| Careers | https://www.codecademy.com/about/careers |
| Affiliates | https://www.codecademy.com/pages/codecademy-affiliate-program |
| Partnerships | https://www.codecademy.com/pages/partnerships |
| https://twitter.com/Codecademy |
| https://codecademy.com/users/redirect?redirect_url=https://www.facebook.com/groups/codecademy.community |
| https://instagram.com/codecademy |
| https://www.youtube.com/channel/UC5CMtpogD_P3mOoeiDHD5eQ |
| https://www.tiktok.com/@codecademy |
| Articles | https://www.codecademy.com/articles |
| Blog | https://codecademy.com/resources/blog |
| Cheatsheets | https://www.codecademy.com/resources/cheatsheets/all |
| Code challenges | https://www.codecademy.com/code-challenges |
| Docs | https://www.codecademy.com/resources/docs |
| Projects | https://www.codecademy.com/projects |
| Videos | https://www.codecademy.com/resources/videos |
| Workspaces | https://codecademy.com/pages/workspaces |
| Help Center | https://help.codecademy.com |
| Articles | https://www.codecademy.com/articles |
| Blog | https://codecademy.com/resources/blog |
| Cheatsheets | https://www.codecademy.com/resources/cheatsheets/all |
| Code challenges | https://www.codecademy.com/code-challenges |
| Docs | https://www.codecademy.com/resources/docs |
| Projects | https://www.codecademy.com/projects |
| Videos | https://www.codecademy.com/resources/videos |
| Workspaces | https://codecademy.com/pages/workspaces |
| Help Center | https://help.codecademy.com |
| For individuals | https://www.codecademy.com/pages/paid-plans |
| For students | https://www.codecademy.com/student-center |
| For business | https://www.codecademy.com/business |
| Discounts | https://www.codecademy.com/pages/codecademy-discount-codes |
| Visit community | https://community.codecademy.com/c/start-here/ |
| Code Crew | https://try.codecademy.com/code-crew/ |
| Events | https://www.codecademy.com/events |
| Learner Stories | https://www.codecademy.com/resources/blog/category/learner-stories |
| AI | https://www.codecademy.com/catalog/subject/artificial-intelligence |
| Cloud computing | https://www.codecademy.com/catalog/subject/cloud-computing |
| Code foundations | https://www.codecademy.com/catalog/subject/code-foundations |
| Computer science | https://www.codecademy.com/catalog/subject/computer-science |
| Cybersecurity | https://www.codecademy.com/catalog/subject/cybersecurity |
| Data analytics | https://www.codecademy.com/catalog/subject/data-analytics |
| Data science | https://www.codecademy.com/catalog/subject/data-science |
| Data visualization | https://www.codecademy.com/catalog/subject/data-visualization |
| Developer tools | https://www.codecademy.com/catalog/subject/developer-tools |
| DevOps | https://www.codecademy.com/catalog/subject/devops |
| Game development | https://www.codecademy.com/catalog/subject/game-development |
| IT | https://www.codecademy.com/catalog/subject/information-technology |
| Machine learning | https://www.codecademy.com/catalog/subject/machine-learning |
| Math | https://www.codecademy.com/catalog/subject/math |
| Mobile development | https://www.codecademy.com/catalog/subject/mobile-development |
| Web design | https://www.codecademy.com/catalog/subject/web-design |
| Web development | https://www.codecademy.com/catalog/subject/web-development |
| Bash | https://www.codecademy.com/catalog/language/bash |
| C | https://www.codecademy.com/catalog/language/c |
| C++ | https://www.codecademy.com/catalog/language/c-plus-plus |
| C# | https://www.codecademy.com/catalog/language/c-sharp |
| Go | https://www.codecademy.com/catalog/language/go |
| HTML & CSS | https://www.codecademy.com/catalog/language/html-css |
| Java | https://www.codecademy.com/catalog/language/java |
| JavaScript | https://www.codecademy.com/catalog/language/javascript |
| Kotlin | https://www.codecademy.com/catalog/language/kotlin |
| PHP | https://www.codecademy.com/catalog/language/php |
| Python | https://www.codecademy.com/catalog/language/python |
| R | https://www.codecademy.com/catalog/language/r |
| Ruby | https://www.codecademy.com/catalog/language/ruby |
| SQL | https://www.codecademy.com/catalog/language/sql |
| Swift | https://www.codecademy.com/catalog/language/swift |
| Career paths | https://www.codecademy.com/catalog/all |
| Career Center | https://www.codecademy.com/career-center |
| Interview prep | https://www.codecademy.com/pages/interview-prep |
| Professional certification | https://www.codecademy.com/pages/pro-certifications |
| Bootcamps | https://www.codecademy.com/bootcamps |
| Full catalog | https://www.codecademy.com/catalog/all |
| Beta content | https://www.codecademy.com/catalog/subject/beta |
| Roadmap | https://trello.com/b/vAgDXtT6/codecademy-releases-roadmap |
| https://itunes.apple.com/us/app/codecademy-go/id1376029326 |
| https://play.google.com/store/apps/details?id=com.ryzac.codecademygo |
| https://itunes.apple.com/us/app/codecademy-go/id1376029326 |
| https://play.google.com/store/apps/details?id=com.ryzac.codecademygo |
| Privacy Policy | https://www.codecademy.com/policy |
| Cookie Policy | https://www.codecademy.com/cookie-policy |
| Do Not Sell My Personal Information | https://privacy.codecademy.com |
| Terms | https://www.codecademy.com/terms |