{"comment":{"url":"https://api.github.com/repos/biolprogramming/assignment-9/comments/16419292","html_url":"https://github.com/biolprogramming/assignment-9/commit/56c3fdf72937d9235c328ecfb688d84ebb6e99eb#commitcomment-16419292","id":16419292,"user":{"login":"glaudelrio","id":10550113,"avatar_url":"https://avatars.githubusercontent.com/u/10550113?v=3","gravatar_id":"","url":"https://api.github.com/users/glaudelrio","html_url":"https://github.com/glaudelrio","followers_url":"https://api.github.com/users/glaudelrio/followers","following_url":"https://api.github.com/users/glaudelrio/following{/other_user}","gists_url":"https://api.github.com/users/glaudelrio/gists{/gist_id}","starred_url":"https://api.github.com/users/glaudelrio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glaudelrio/subscriptions","organizations_url":"https://api.github.com/users/glaudelrio/orgs","repos_url":"https://api.github.com/users/glaudelrio/repos","events_url":"https://api.github.com/users/glaudelrio/events{/privacy}","received_events_url":"https://api.github.com/users/glaudelrio/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"56c3fdf72937d9235c328ecfb688d84ebb6e99eb","created_at":"2016-03-01T14:45:12Z","updated_at":"2016-03-01T14:45:12Z","body":"## Task 1\r\n\r\nWrite a program that includes 5 different functions each of which demonstrates one of 5 **different** string methods. As always, your program should contain a `main` loop and an `ifmain` statement.\r\n\r\n- [ ] Program is correctly formatted (0.5 pt)\r\n- [ ] Program includes `main()` function and \"ifmain\" statement (0.5 pt)\r\n- [ ] Program uses 5 functions to show 5 string methods and functions correctly (2 pts total; 0.4 points each function)\r\n\r\n## Task 2\r\n\r\nWrite a program that processess these data to split them by line ending, replaces the tab separations with commas, and prints out the result - line-by-line. As always, your program should contain a `main` loop and an `ifmain` statement.\r\n\r\n- [ ] Program is correctly formatted (0.5 pt)\r\n- [ ] Program includes `main()` function and \"ifmain\" statement (0.5 pt)\r\n- [ ] Program correctly processes data - it prints the data line-by-line, reformatted from tab-delimited to comma-delimited (3 pts.)\r\n\r\n## Task 3\r\n\r\nWrite a program that takes the given list (using argparse) as input, and passes the list to a function.  Within the function, use iteration to remove every even-numbered item from the list, and return only the list containing odd numbers to the `main` loop.  Print the list of odd numbers from the main loop.  As always, your program should contain a `main` loop and an `ifmain` statement.\r\n\r\n- [ ] Program is correctly formatted (0.5 pt)\r\n- [ ] Program includes `main()` function and \"ifmain\" statement (0.5 pt)\r\n- [ ] Program correctly removes even-numbered elements from the list using iteration, returns this list, and prints this list from the main loop (3 pts.)\r\n\r\n\r\n## Task 4\r\n\r\nWhy do you see these different behaviors between `function1` and `function2`?  Answer the question for each function by copying the code below to `task5.py` within your github username directory and adding your explanation to each function as a **function description**.\r\n\r\n- [ ] Correct answer for function 1, as a function description (2 pts)\r\n- [ ] Correct answer for function 2, as a function description (2 pts)"}}