{"id":30065752,"url":"https://github.com/venkatesh-db/python-logic-cracked50logics","last_synced_at":"2025-08-08T06:24:59.082Z","repository":{"id":308473495,"uuid":"1032939972","full_name":"venkatesh-db/Python-Logic-cracked50Logics","owner":"venkatesh-db","description":"Pythonrealtimelogic's","archived":false,"fork":false,"pushed_at":"2025-08-06T04:26:46.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-06T06:20:48.066Z","etag":null,"topics":["conditions-and-if-statements","dictionaries","list","loops","oops-in-python","tuple"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/venkatesh-db.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-08-06T04:18:59.000Z","updated_at":"2025-08-06T04:30:41.000Z","dependencies_parsed_at":"2025-08-06T06:20:49.139Z","dependency_job_id":"5f59eb46-7c65-43f5-8944-c6f0037ed175","html_url":"https://github.com/venkatesh-db/Python-Logic-cracked50Logics","commit_stats":null,"previous_names":["venkatesh-db/python-logic-cracked50logics"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/venkatesh-db/Python-Logic-cracked50Logics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venkatesh-db%2FPython-Logic-cracked50Logics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venkatesh-db%2FPython-Logic-cracked50Logics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venkatesh-db%2FPython-Logic-cracked50Logics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venkatesh-db%2FPython-Logic-cracked50Logics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/venkatesh-db","download_url":"https://codeload.github.com/venkatesh-db/Python-Logic-cracked50Logics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venkatesh-db%2FPython-Logic-cracked50Logics/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269375376,"owners_count":24406806,"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","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["conditions-and-if-statements","dictionaries","list","loops","oops-in-python","tuple"],"created_at":"2025-08-08T06:24:53.493Z","updated_at":"2025-08-08T06:24:59.073Z","avatar_url":"https://github.com/venkatesh-db.png","language":"Python","readme":"Here’s a summary of the four Python files you uploaded:\n\n---\n\n### ✅ **1. `corporatecasestudies_3.py`** – *\"A Day in the Life of a Developer\"*\n\n**Concepts Covered:**\n\n* Variables, Lists, Tuples, Dictionaries\n* Nested dictionaries and lists\n* Functions\n\n**Structure:**\n\n* Simulates daily life: exercise, breakfast, metro travel, office space, and work.\n* Uses Python structures to model:\n\n  * Exercise (`str`), breakfast (`tuple`), metro journey (`list` of lists), and office employees (`dict`)\n  * A `company` dictionary with nested ticket assignments to employees.\n* Demonstrates:\n\n  * Basic list manipulation: `append()`, `remove()`\n  * Dictionary updates and value retrieval\n* Functions like `exercise()` and `officespace()` define reusable blocks of logic (though unused).\n\n---\n\n### ✅ **2. `feedbacks4.py`** – *\"Basic Logic, Conditions, and Dictionary Manipulation\"*\n\n**Concepts Covered:**\n\n* Functions with parameters and return values\n* Conditionals (`if-elif`)\n* Loops over dictionaries\n* Real-life analogy: auto fare, apartment deliveries, family status\n\n**Highlights:**\n\n* `autos()` returns fare based on location.\n* `apartment()` checks if a parcel is delivered to a specific floor.\n* `family` dictionary used to count alive elders based on `alive` key.\n* Demonstrates data traversal and conditional filtering.\n\n---\n\n### ✅ **3. `Logics_basics1.py`** – *\"Servant Salary Calculation and Looping\"*\n\n**Concepts Covered:**\n\n* Lists of dictionaries\n* Updating values based on conditions\n* Different types of loops: over list, with `enumerate()`, over dict keys, values, items\n\n**Core Logic:**\n\n* `ownerhouse()` calculates salary based on work quality.\n* Pay calculated using `days * pay_per_day`.\n* `Looping()` function shows various ways to access and iterate over collections (`list` and `dict`).\n\n---\n\n### ✅ **4. `motheremotions_2.py`** – *\"Mother's Emotions \u0026 Household Scenarios\"*\n\n**Concepts Covered:**\n\n* Dictionary, Tuple, List conversions\n* Conditional logic\n* Real-world modeling with emotion\n\n**Sections:**\n\n* **Family Memory Access**: Detects missing son and stores worried members.\n* **Cooking**: Moves values from a dict to a list.\n* **Struggles**: Moves household problem data from one dict to another using conditions.\n* Emotional and daily house chores context simulated as Python data transformations.\n\n---\n\n### 🧠 **Overall Purpose Across All Files:**\n\nThese scripts creatively simulate **daily routines**, **emotions**, and **logic building** using Python. The key educational goals are:\n\n* Understanding data types and structures\n* Practicing control flow and data mutation\n* Bridging real-life scenarios into code logic\n\nLet me know if you’d like:\n\n* Refactoring of any file into production-level code\n* Comments/documentation added for teaching\n* Integration of all files into a mini project or script with CLI/UI\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvenkatesh-db%2Fpython-logic-cracked50logics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvenkatesh-db%2Fpython-logic-cracked50logics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvenkatesh-db%2Fpython-logic-cracked50logics/lists"}