{"id":18535843,"url":"https://github.com/santosh2702/listtuples","last_synced_at":"2025-05-15T00:30:53.719Z","repository":{"id":200786613,"uuid":"135064878","full_name":"santosh2702/Listtuples","owner":"santosh2702","description":"Hackerrank","archived":false,"fork":false,"pushed_at":"2018-05-30T11:02:33.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T07:32:45.412Z","etag":null,"topics":["problem","python"],"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/santosh2702.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}},"created_at":"2018-05-27T16:50:00.000Z","updated_at":"2018-05-30T10:52:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"d933933d-8eb3-488c-9673-d83c0a975dff","html_url":"https://github.com/santosh2702/Listtuples","commit_stats":null,"previous_names":["santosh2702/listtuples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosh2702%2FListtuples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosh2702%2FListtuples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosh2702%2FListtuples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosh2702%2FListtuples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santosh2702","download_url":"https://codeload.github.com/santosh2702/Listtuples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254250838,"owners_count":22039282,"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":["problem","python"],"created_at":"2024-11-06T19:28:04.671Z","updated_at":"2025-05-15T00:30:53.696Z","avatar_url":"https://github.com/santosh2702.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Listtuples\n# Tuples\n# Task \nGiven an integer,n , and n space-separated integers as input, create a tuple, , of those  integers. Then compute and print the result of hash(t).\n\nNote: hash() is one of the functions in the __builtins__ module, so it need not be imported.\n\n# Input Format\n\nThe first line contains an integer,n , denoting the number of elements in the tuple. \nThe second line contains n space-separated integers describing the elements in tuple t.\n\n# Output Format\n\nPrint the result of hash(t).\n\n\n# Lists\n\n Consider a list (list = []). You can perform the following commands:\n insert i e: Insert integer e at position i.\n print: Print the list.\n remove e: Delete the first occurrence of integer e.\n append e: Insert integer e at the end of the list.\n sort: Sort the list.\n pop: Pop the last element from the list.\n reverse: Reverse the list.\n\n Initialize your list and read in the value of n followed by n lines of commands where each command will be of the types listed above.\n Iterate through each command in order and perform the corresponding operation on your list.\n\n# Input Format\n The first line contains an integer, n, denoting the number of commands. \n Each line i of the n subsequent lines contains one of the commands described above.\n\n# Constraints\n The elements added to the list must be integers.\n\n# Output Format\n For each command of type print, print the list on a new line.\n\t\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantosh2702%2Flisttuples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantosh2702%2Flisttuples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantosh2702%2Flisttuples/lists"}