Title: more python2 to python3 issues · Issue #161 · UWPCE-PythonCert/IntroToPython-2014 · GitHub
Open Graph Title: more python2 to python3 issues · Issue #161 · UWPCE-PythonCert/IntroToPython-2014
X Title: more python2 to python3 issues · Issue #161 · UWPCE-PythonCert/IntroToPython-2014
Description: Session 7, map (and filter) return an iterator now, not a list: for each in map(fun, l): ... print(each) ... 14 20 24 34 22 18 If you want the list, you can do list(map(fun, l)) [14, 20, 24, 34, 22, 18]
Open Graph Description: Session 7, map (and filter) return an iterator now, not a list: for each in map(fun, l): ... print(each) ... 14 20 24 34 22 18 If you want the list, you can do list(map(fun, l)) [14, 20, 24, 34, 22...
X Description: Session 7, map (and filter) return an iterator now, not a list: for each in map(fun, l): ... print(each) ... 14 20 24 34 22 18 If you want the list, you can do list(map(fun, l)) [14, 20, 24, 34, 22...
Opengraph URL: https://github.com/UWPCE-PythonCert/IntroToPython-2014/issues/161
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"more python2 to python3 issues","articleBody":"Session 7, map (and filter) return an iterator now, not a list:\r\n\r\n\u003e\u003e\u003e for each in map(fun, l):\r\n... print(each)\r\n...\r\n14\r\n20\r\n24\r\n34\r\n22\r\n18\r\n\r\nIf you want the list, you can do \r\n\r\n\u003e\u003e\u003e list(map(fun, l))\r\n[14, 20, 24, 34, 22, 18]\r\n","author":{"url":"https://github.com/codedragon","@type":"Person","name":"codedragon"},"datePublished":"2016-11-09T19:57:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/161/IntroToPython-2014/issues/161"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6b9c1b9d-ee05-5e90-2905-6a6700b845f8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB2A:367630:159F558:1E57949:696F6265 |
| html-safe-nonce | abc01e7aafd28ff706d327568b6e440681d26cb9f8791cf21ef99a059ddbef8c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjJBOjM2NzYzMDoxNTlGNTU4OjFFNTc5NDk6Njk2RjYyNjUiLCJ2aXNpdG9yX2lkIjoiODUxMjYyNTY5MzU0MjAxNTU5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 622a1351a39287c812f91ca9e38f0eee6fa99ccc1f4b2aa25f39a7350b874b98 |
| hovercard-subject-tag | issue:188338059 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/UWPCE-PythonCert/IntroToPython-2014/161/issue_layout |
| twitter:image | https://opengraph.githubassets.com/60ce273554c9d7aa994428dbf0d05a59dea80006a5a6ec0c27b1f302d3d9f612/UWPCE-PythonCert/IntroToPython-2014/issues/161 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/60ce273554c9d7aa994428dbf0d05a59dea80006a5a6ec0c27b1f302d3d9f612/UWPCE-PythonCert/IntroToPython-2014/issues/161 |
| og:image:alt | Session 7, map (and filter) return an iterator now, not a list: for each in map(fun, l): ... print(each) ... 14 20 24 34 22 18 If you want the list, you can do list(map(fun, l)) [14, 20, 24, 34, 22... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | codedragon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 774d0922d2c4577043d2dab90427344eb4c6ce1d5579acb1dd504cff1a7e46f8 |
| turbo-cache-control | no-preview |
| go-import | github.com/UWPCE-PythonCert/IntroToPython-2014 git https://github.com/UWPCE-PythonCert/IntroToPython-2014.git |
| octolytics-dimension-user_id | 5218825 |
| octolytics-dimension-user_login | UWPCE-PythonCert |
| octolytics-dimension-repository_id | 12719749 |
| octolytics-dimension-repository_nwo | UWPCE-PythonCert/IntroToPython-2014 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 12719749 |
| octolytics-dimension-repository_network_root_nwo | UWPCE-PythonCert/IntroToPython-2014 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 650acea592f12d1bd8931d44546c209e0b06ed6e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width