{"id":15136138,"url":"https://github.com/anishlearnstocode/python-workshop-3","last_synced_at":"2026-02-08T22:02:36.406Z","repository":{"id":98363507,"uuid":"278571628","full_name":"anishLearnsToCode/python-workshop-3","owner":"anishLearnsToCode","description":"Python 🐍 Workshop on Language Basics, Constructs and introduction in Data Structures \u0026 Algorithms 👨‍💻 @WhatAfterCollege 🎓 ","archived":false,"fork":false,"pushed_at":"2020-07-15T18:40:16.000Z","size":39,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T08:34:43.247Z","etag":null,"topics":["algorithms","arithmetic-expression","data-structures","dictionary","functions","generator-function","introduction-to-programming","list","logical-expression","methods","oops","pycharm","pycharm-ide","python","python3","tuple","workshop"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anishLearnsToCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-10T07:44:23.000Z","updated_at":"2021-09-15T20:28:48.000Z","dependencies_parsed_at":"2023-04-06T08:05:58.566Z","dependency_job_id":null,"html_url":"https://github.com/anishLearnsToCode/python-workshop-3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishLearnsToCode%2Fpython-workshop-3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishLearnsToCode%2Fpython-workshop-3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishLearnsToCode%2Fpython-workshop-3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishLearnsToCode%2Fpython-workshop-3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anishLearnsToCode","download_url":"https://codeload.github.com/anishLearnsToCode/python-workshop-3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247425455,"owners_count":20936951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","arithmetic-expression","data-structures","dictionary","functions","generator-function","introduction-to-programming","list","logical-expression","methods","oops","pycharm","pycharm-ide","python","python3","tuple","workshop"],"created_at":"2024-09-26T06:04:16.017Z","updated_at":"2026-02-08T22:02:36.400Z","avatar_url":"https://github.com/anishLearnsToCode.png","language":"Python","readme":"# Python 🐍 Basics Workshop - What After College\n\n![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/anishLearnsToCode/python-workshop-3)\n[![license](https://img.shields.io/badge/LICENSE-MIT-\u003cCOLOR\u003e.svg)](LICENSE)\n\nSolutions to all sample problems on HackerRank under the \n[Python domain](https://www.hackerrank.com/domains/python) can be \nlooked up [here](https://github.com/anishLearnsToCode/hackerrank-python).\n\n\u003cdetails\u003e\n    \u003csummary\u003e\u003cb\u003eWorkshop Timings\u003c/b\u003e\u003c/summary\u003e\n    Workshop Timings: 9:00 AM - 2:00 PM (9 - 14) \u003cbr\u003e\n    Break Timings: 11:00 AM - 12:00 AM (11 - 12)\n\u003c/details\u003e\n\nProgramming is a very hands process and is both an art as well as a science. We are\nengineers and are required to create efficient solutions but at the same time our programs should be \nhighly readable and flexible and all the other snappy terms which makes it an art as well.\n\nTo become proficient in this art, there are many resources, and books and tutorials. Each has it's merit\nand making the first step in any direction is commendable, but the cardinal factor at the end of the day\nwill be you sitting down (or standing) and writing code. No book or resource can substitute that.\n\nSo, what are you waiting for 😀😉 - try as many questions (below or otherwise) as you can.... 🐱‍👤    \nHappy Coding :octocat: 🐱‍💻 \n\nGet to know more about your instructor [here](https://www.linkedin.com/in/anishsachdeva1998/).\n\n## Index\n| Domain | Important Links |\n|:---:|:---------------:|\n| [Project Setup Details](#project-setup-details) | _-- No Links --_|\n| [Day 1](#day-1) | [[Topics Covered]](#topics-covered) ⭐ [[Further Reading]](#further-reading) ⭐ [[Sample Questions]](#sample-questions) |\n| [Day 2](#day-2) | [[Topics Covered]](#topics-covered-1) ⭐ [[Further Reading]](#further-reading-1) ⭐ [[Sample Questions]](#sample-questions-1) |\n| [Python Capstone Project](#hangman-game-capstone-project) | [[Repository]](https://github.com/anishLearnsToCode/hangman-cli-game) |\n| [Future Path ??](#future-scope-and-path) | ➡➡ [look ahead](#future-scope-and-path) |\n\n## Project Setup Details\n- [Visual Studio Code](https://code.visualstudio.com/)\n- [JetBrains PyCharm Community Edition](https://www.jetbrains.com/edu-products/download/)\n- [Git](https://git-scm.com/downloads)\n- [Python 3](https://www.python.org/downloads/)\n\n## [Day 1](https://github.com/anishLearnsToCode/python-workshop-3/tree/master/day-1)\n### Topics Covered\n- [Hello World!](day-1/hello-world.py)\n- [Input](day-1/input.py)\n- [Data Types](day-1/variables.py)\n- [Integer Input](day-1/int-input.py)\n- [Comments \u0026 Variables](day-1/comments.py)\n- [Arithmetic Expressions](day-1/arithmetic-operations.py)\n- [logical Expressions](day-1/logical-operators.py)\n- [If-Else Statements](day-1/if-else-conditions.py)\n- [Finding of Number is even or odd](day-1/even-odd.py)\n- [Largest of 3 Numbers](day-1/largest-3-numbers.py)\n- [While Loop](day-1/while-loop.py)\n- [Range](day-1/range-type.py)\n- [For Loops](day-1/for-loops.py)\n- [Infinite Loop](day-1/infinite-loop.py)\n- [Loop Control Statements](day-1/loop-control-statements.py)\n- [Nested Loops](day-1/nested-loop.py)\n- [Sum of N Natural Numbers](day-1/sum-of-n-numbers.py)\n- [Sum of squares of first N Natural Numbers](day-1/sum-of-squares.py)\n- [Factorial](day-1/factorial.py)\n- [Lists](day-1/lists.py)\n\n### Further Reading\n- [w3 School Python](https://www.w3schools.com/python/)\n- [HackerRank python Domain](https://www.hackerrank.com/domains/python)\n- [Why is it called Python?](http://www.python.org/doc/faq/general/#why-is-it-called-python)\n- [Projects Created on Python](python.org/about/success)\n- [C++ vs. Java vs. Python Language Speed Test (Informal)](https://www.youtube.com/watch?v=C8jeRug6agk)\n\n### Sample Questions\n| Question | Solution Link |\n|:---------|:--------:|\n| [Say \"Hello World\" With Python](https://www.hackerrank.com/challenges/py-hello-world)| [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/introduction/SayHelloWorldWithPython.py) |\n| [Python If-Else](https://www.hackerrank.com/challenges/py-if-else) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/introduction/PythonIfElse.py) |\n| [Arithmetic Operators](https://www.hackerrank.com/challenges/python-arithmetic-operators) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/introduction/ArithmeticOperator.py) |\n| [Python Division](https://www.hackerrank.com/challenges/python-division) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/introduction/Division.py) |\n| [Loops](https://www.hackerrank.com/challenges/python-loops) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/introduction/Loops.py)|\n| [List Comprehensions](https://www.hackerrank.com/challenges/list-comprehensions) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/basic-data-types/ListComprehension.py) |\n| [Find the Runner-Up Score](https://www.hackerrank.com/challenges/find-second-maximum-number-in-a-list) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/basic-data-types/FindTheRunnerUpScore.py) |\n| [Nested Lists](https://www.hackerrank.com/challenges/nested-list) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/basic-data-types/nested-lists.py) |\n| [Finding The Percentage](https://www.hackerrank.com/challenges/finding-the-percentage) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/basic-data-types/finding-the-percentage.py) |\n| [Lists](https://www.hackerrank.com/challenges/python-lists) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/basic-data-types/Lists.py) |\n| [Tuples](https://www.hackerrank.com/challenges/python-tuples) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/basic-data-types/tuples.py) |\n| [sWAP cASE](https://www.hackerrank.com/challenges/swap-case) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/strings/swap-case.py) |\n| [String Split and Join](https://www.hackerrank.com/challenges/python-string-split-and-join) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/strings/string-split-and-join.py) |\n| [What's Your Name](https://www.hackerrank.com/challenges/whats-your-name) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/strings/whats-your-name.py) |\n\n## [Day 2](https://github.com/anishLearnsToCode/python-workshop-3/tree/master/day-2)\n\n### Topics Covered\n- [Ternary Statement](day-2/ternary-statement.py)\n- [List Comprehension](day-2/generator-function.py)\n- [Functions](day-2/functions.py)\n- [Inbuilt Functions](day-2/inbuilt-functions.py)\n- [String Functions](day-2/string-functions.py)\n- [List Input](day-2/list-input.py)\n- [ASCII \u0026 UNICODE](day-2/ascii.py)\n- [Tuples](day-2/tuples.py)\n- [Dictionary](day-2/dictionary.py)\n- [Complex Key Value pairs in Dictionary](day-2/dictionary-multiple.py)\n- [Packages](day-2/packages.py)\n\n### Further Reading\n- [Math Module](https://docs.python.org/3/library/math.html)\n- [Stack Overflow Survey 2020](https://insights.stackoverflow.com/survey/2020)\n- [Python Example Projects and Project Based Tutorials](https://realpython.com/tutorials/projects/)\n- [Django: Web Development on Python](https://www.djangoproject.com/)\n- [Falcon: Minimalist Web Framework](https://falcon.readthedocs.io/en/stable/)\n\n### Sample Questions\n| Question | Solution Link |\n|:---------|:--------:|\n| [Write a Function](https://www.hackerrank.com/challenges/write-a-function) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/introduction/WriteAFunction.py) |\n| [Print Function](https://www.hackerrank.com/challenges/python-print) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/introduction/PrintFunction.py) |\n| [collections.Counter()](https://www.hackerrank.com/challenges/collections-counter) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/collections/collections-counter.py) |\n| [DefaultDict Tutorial](https://www.hackerrank.com/challenges/defaultdict-tutorial) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/collections/default-dict-tutorial.py) |\n| [Collections.namedTuple()](https://www.hackerrank.com/challenges/py-collections-namedtuple) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/collections/collections-named-tuple.py) |\n| [Collections.orderedDict()](https://www.hackerrank.com/challenges/py-collections-ordereddict) | [Solution](https://github.com/anishLearnsToCode/hackerrank-python/blob/master/collections/collections-ordered-dict.py) |\n\n## Hangman Game (Capstone Project)\nThe code can be viewed [here](https://github.com/anishLearnsToCode/hangman-cli-game).\nThe main (interesting) concepts being used by this code are:\n- [Functions](https://github.com/anishLearnsToCode/python-workshop-1/blob/master/day-1/functions.py)\n- [Modules](https://github.com/anishLearnsToCode/python-workshop-1/blob/master/day-2/modules.py)\n- [Generators](https://github.com/anishLearnsToCode/python-workshop-1/blob/master/day-2/generators.py)\n\n## Future Scope and Path\nNow that you have learnt the basics of Python and also built an amazing project that showcases\nyour skills, how to move ahead and learn more? What else could you work on? Here are a \nfew suggestions:\n\n### Data Structures and Algorithms\nData Structures and Algorithms is an immensely important topic required for Software development and\nis used by organizations for all sizes as a tool for employee hiring and recruitment. To get better\nat this I recommend that you practice questions in the \n[Data Structures](https://www.hackerrank.com/domains/data-structures) and \n[Algorithms](https://www.hackerrank.com/domains/algorithms) \ndomain on HackerRank and you can have a look at solutions to many of those problems in the \nsolution repositories given below.\n\n| Problem Domain | Solution Repository |\n|----------------|---------------------|\n| [Data Structures](https://www.hackerrank.com/domains/data-structures) | [Solutions](https://github.com/anishLearnsToCode/hackerrank-data-structures) |\n| [Algorithms](https://www.hackerrank.com/domains/algorithms) | [Solutions](https://github.com/anishLearnsToCode/hackerrank-algorithms) |\n\nYou can views solutions to problems in Python (or any of your preferred programming language)\nand you are most welcome to contribute to the repository solutions to unsolved problems \nor solutions in more languages (aka Python). \n\nYou can also try questions on [Leet Code](https://leetcode.com/) and have a look at the \n[solutions repository](https://github.com/anishLearnsToCode/leetcode-algorithms)\nand are most welcome to contribute just as above 😀\n\n### Core Python\nBefore starting of your journey in Data Structures or \n[web development](#web-development) or even \n[machine learning](#machine-learning-)\nanother good first step can be just developing your core Python skills further so that you are \nfamiliar with all the different constructs that the language has to offer. That can be done on \nHackerRank in the \n[Python Domain](https://www.hackerrank.com/domains/python) \nand you can have a look at solutions to all the problems\n[here](https://github.com/anishLearnsToCode/hackerrank-python).\n\n### Web Development\nPython is a very versatile programming language and is being used for all things from biology\nto robotics, computer vision and even serve side rendered web applications and api's.\nAs you are now proficient with the programming language you can start learning a web \ndevelopment framework like \n[Django](https://www.djangoproject.com/) or\n[Falcon](https://falcon.readthedocs.io/en/stable/).\n\nDjango is a have all web development framework and you can even build very large, highly modern\ncluster based web sites that can be deployed to scale. You can use it just to create a server-side\nAPI with a separate client facing application or a MVC (Model view controller) based application\nthat has server side rendering.\n\nFalcon is a relatively light weight web development platform but it is blazing fast ⚡ and that serves\nit's own purpose. It can be used to create a super fast very minimalistic server side API's \nand can aso be used to create server side job runners like mail sending and background processing.\n\nYou could always use multiple server side frameworks which will give you the perfect opportunity\nto use buzz words like docker, kubernetes 🛳, clusters, swarms and add all these buzz words to\nyour resume 😉. \n\n### Machine Learning 🔥\nSpeaking of buzz words... Machine Learning has enjoyed fame of meteoric proportions and there are\nplenty of resources to get started with ML and Python has somehow become the defacto language\nused in Machine Learning / Deep Learning applications and is being sed by Engineers \u0026 \nscientists of many different domains that have written numerous libraries serving various purposes\nall around the globe 🌎 which is good for us ☺.\n\nSome popular libraries are:\n- [numpy](https://numpy.org/)\n- [scikit-learn](https://scikit-learn.org/stable/)\n- [tensorflow](https://www.tensorflow.org/)\n- [open-cv](https://opencv.org/)\n- [pyTorch](https://pytorch.org/)\n\nTo get started with Machine Learning I recommend the ubiquitous \n[Machine Learning by Stanford](https://www.coursera.org/learn/machine-learning)\ncourse on [Coursera](https://www.coursera.org) by Andrew Ng.\n\nThis may be old but it's essence and relevance haven't dwindled at all. Solutions to all problems\nwith well written code can be found [here](https://github.com/anishLearnsToCode/ml-stanford).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanishlearnstocode%2Fpython-workshop-3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanishlearnstocode%2Fpython-workshop-3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanishlearnstocode%2Fpython-workshop-3/lists"}