{"id":16143179,"url":"https://github.com/johnbedeir/task","last_synced_at":"2025-04-06T19:24:58.384Z","repository":{"id":103782241,"uuid":"383168304","full_name":"johnbedeir/Task","owner":"johnbedeir","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-06T08:43:22.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-13T01:29:10.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/johnbedeir.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":"2021-07-05T14:27:15.000Z","updated_at":"2021-07-06T08:43:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"a88a511d-cc06-4005-b5d4-8004946d3491","html_url":"https://github.com/johnbedeir/Task","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/johnbedeir%2FTask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbedeir%2FTask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbedeir%2FTask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbedeir%2FTask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnbedeir","download_url":"https://codeload.github.com/johnbedeir/Task/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247536933,"owners_count":20954850,"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":[],"created_at":"2024-10-10T00:08:48.235Z","updated_at":"2025-04-06T19:24:58.359Z","avatar_url":"https://github.com/johnbedeir.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# First Task\n\n**1. make sure Python \u0026 Pip are installed by typing in the terminal:**\n```bash\n$ python\n$ pip\n```\n**or**\n```bash\n$ python3\n$ pip3\n```\n**If not installed then install Python \u0026 Pip first**\n\n**2. Creat a python script:**\n\n``` python\nfrom random import randint\n\nfor _ in range(0, 10):\n    value = randint(1, 10)\n    print(value)\n```\nThis is a for loop function that uses a range between 0 to 10 and then print a random 10 numbers between 1 to 10 \n\n**3. Save the file as \"random_number.py\":**\n\n**4. Open the terminal and navigate to the directory where the file located then run the python file using the following command:**\n\n    $ python random_number.py\n\n**4. Output should be a random 10 numbers as shown but it is changing each time you run the file:**\n\n```bash\n6\n3\n10\n8\n3\n3\n7\n3\n5\n4\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnbedeir%2Ftask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnbedeir%2Ftask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnbedeir%2Ftask/lists"}