{"id":20766894,"url":"https://github.com/rezapace/python-program","last_synced_at":"2026-05-24T13:33:21.266Z","repository":{"id":138790533,"uuid":"580768816","full_name":"rezapace/python-program","owner":"rezapace","description":"This repository contains a collection of simple Python programs designed to demonstrate basic programming concepts. Each program focuses on a specific task or algorithm, providing a practical example of how to implement it in Python.","archived":false,"fork":false,"pushed_at":"2024-09-01T00:24:01.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T01:57:20.383Z","etag":null,"topics":["belajar","logic","logic-programming","program","project","py","pyhton","sample","sederhana"],"latest_commit_sha":null,"homepage":"https://www.webkumal.com/","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/rezapace.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}},"created_at":"2022-12-21T11:59:36.000Z","updated_at":"2025-12-17T00:20:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c9b306b-cdb6-4ebf-a87c-ee5545529d17","html_url":"https://github.com/rezapace/python-program","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rezapace/python-program","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezapace%2Fpython-program","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezapace%2Fpython-program/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezapace%2Fpython-program/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezapace%2Fpython-program/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rezapace","download_url":"https://codeload.github.com/rezapace/python-program/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rezapace%2Fpython-program/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33436554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-24T13:13:05.286Z","status":"ssl_error","status_checked_at":"2026-05-24T13:13:03.728Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["belajar","logic","logic-programming","program","project","py","pyhton","sample","sederhana"],"created_at":"2024-11-17T11:26:38.495Z","updated_at":"2026-05-24T13:33:21.238Z","avatar_url":"https://github.com/rezapace.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Python Programs\n\n## Description\nThis repository contains a collection of simple Python programs designed to demonstrate basic programming concepts. Each program focuses on a specific task or algorithm, providing a practical example of how to implement it in Python.\n\n## Programs\n\n### Program 1: Conditional Statements\n- If the score is less than or equal to 40, the grade is D.\n- If the score is less than 61, the grade is C.\n- If the score is less than 81, the grade is B.\n- Otherwise, the grade is A.\n\n### Program 2: Output Statements\n- Output: \"Your score is 50\"\n- Output: \"Sorry, you did not pass\"\n\n### Program 3: Odd Numbers\n- Display odd numbers from 1 to 100.\n\n### Program 4: Triangle Area Calculator\n- Function to calculate the area of a triangle with parameters:\n  - Base\n  - Height\n\n### Program 5: String Character Count\n- Display the number of characters in a string.\n- Input string: \"Programmer\"\n\n### Program 6: Triangle Area Calculation\n- Calculate the area of a triangle.\n\n### Program 7: Rectangle Area Calculator\n- Function to calculate the area of a rectangle with parameters:\n  - Length\n  - Width\n\n### Program 8: Circle Area Calculator\n- Calculate the area of a circle with:\n  - π = 3.14\n  - Radius = 7\n\n### Program 9: Even Numbers\n- Display even numbers from 1 to 75.\n\n### Program 10: Days of the Week Array\n- Create an array containing the names of the days from Monday to Sunday.\n- Example:\n  - Day 1 is Monday\n  - Day 2 is Tuesday\n\n### Program 11: Fibonacci Sequence\n- Display the first 5 Fibonacci numbers with:\n  - First term = 6\n  - Second term = 9\n\n### Program 12: Right-Angled Triangle with Stars\n- Create a right-angled triangle using stars.\n\n### Program 13: Full Triangle with Stars\n- Create a full triangle using stars.\n\n### Program 14: Simple Calculator\n- Implement a basic calculator.\n\n### Program 15: Rectangle Area Calculation\n- Calculate the area of a rectangle.\n\n### Program 16: Rectangle Area Calculation\n- Calculate the area of a rectangle.\n\n### Program 17: Trigonometric Functions\n- Calculate sine, cosine, and tangent angles.\n\n### Program 18: Density Calculation\n- Calculate density.\n\n### Program 19: Counting to One Million\n- Count from 1 to 1,000,000 and display the record.\n\n### Program 20: Cube Surface Area Calculation\n- Calculate the surface area of a cube.\n\n### Program 21: Odd Numbers\n- Display odd numbers from 1 to 75.\n\n---\n\nPowered by Reza","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frezapace%2Fpython-program","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frezapace%2Fpython-program","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frezapace%2Fpython-program/lists"}