{"comment":{"url":"https://api.github.com/repos/kovek/MCSC_game/comments/9370101","html_url":"https://github.com/kovek/MCSC_game/commit/20f76f26eb34c11e49497ef31f9691cfe6ec1d9f#commitcomment-9370101","id":9370101,"user":{"login":"kovek","id":3129213,"avatar_url":"https://avatars.githubusercontent.com/u/3129213?v=3","gravatar_id":"","url":"https://api.github.com/users/kovek","html_url":"https://github.com/kovek","followers_url":"https://api.github.com/users/kovek/followers","following_url":"https://api.github.com/users/kovek/following{/other_user}","gists_url":"https://api.github.com/users/kovek/gists{/gist_id}","starred_url":"https://api.github.com/users/kovek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kovek/subscriptions","organizations_url":"https://api.github.com/users/kovek/orgs","repos_url":"https://api.github.com/users/kovek/repos","events_url":"https://api.github.com/users/kovek/events{/privacy}","received_events_url":"https://api.github.com/users/kovek/received_events","type":"User","site_admin":false},"position":40,"line":34,"path":"src/craft.py","commit_id":"20f76f26eb34c11e49497ef31f9691cfe6ec1d9f","created_at":"2015-01-21T05:15:31Z","updated_at":"2015-01-21T05:15:31Z","body":"Also, here you're getting the index j, but then the only thing you're using it for is to get an element at that index j.\r\nInstead of doing \r\n\r\n    for i in range(len(my_list)):\r\n        do_stuff_with(my_list[i])\r\n\r\nYou can do\r\n\r\n    for element in my_list:\r\n        do_stuff_with(element)"}}