{"id":13958,"topics":[{"id":710,"name":"Computer Science","icon":"RiRobot2Line","parent":698,"channel_url":"https://learn.mit.edu/c/topic/computer-science"},{"id":698,"name":"Data Science, Analytics & Computer Technology","icon":"RiRobot2Line","parent":null,"channel_url":"https://learn.mit.edu/c/topic/data-science-analytics-computer-technology"},{"id":747,"name":"Engineering","icon":"RiRobot2Line","parent":null,"channel_url":"https://learn.mit.edu/c/topic/engineering"},{"id":700,"name":"Programming & Coding","icon":"RiRobot2Line","parent":698,"channel_url":"https://learn.mit.edu/c/topic/programming-coding"}],"position":null,"offered_by":{"code":"ocw","name":"MIT OpenCourseWare","channel_url":"https://learn.mit.edu/c/unit/ocw","display_facet":true},"platform":{"code":"ocw","name":"MIT OpenCourseWare"},"course_feature":[],"departments":[],"certification":false,"certification_type":{"code":"none","name":"No Certificate"},"prices":[],"resource_prices":[],"runs":[],"image":{"id":11993,"url":"https://i.ytimg.com/vi/Z4bm7xzYpKM/hqdefault.jpg","description":null,"alt":null},"views":521,"delivery":[{"code":"online","name":"Online"}],"free":true,"resource_type_group":"learning_material","format":[{"code":"asynchronous","name":"Asynchronous"}],"pace":[{"code":"self_paced","name":"Self-paced"}],"children":[],"best_run_id":null,"learn_url":"https://learn.mit.edu/video/13958/lecture-10-lists-and-mutability?playlist=13921","url_slug":"lecture-10-lists-and-mutability","resource_type":"video","video":{"id":7208,"caption_urls":[],"streaming_url":null,"cover_image_url":null,"duration":"PT1H15M13S"},"playlists":[13921],"content_files":[{"id":24572174,"run_id":5783,"direct_learning_resource_id":13958,"run_title":"Introduction to CS and Programming using Python","run_slug":"courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022","departments":[{"department_id":"6","name":"Electrical Engineering and Computer Science","channel_url":"https://learn.mit.edu/c/department/electrical-engineering-and-computer-science","school":{"id":2,"name":"School of Engineering","url":"https://engineering.mit.edu/"}}],"semester":"Fall","year":2022,"topics":[{"id":710,"name":"Computer Science","icon":"RiRobot2Line","parent":698,"channel_url":"https://learn.mit.edu/c/topic/computer-science"},{"id":698,"name":"Data Science, Analytics & Computer Technology","icon":"RiRobot2Line","parent":null,"channel_url":"https://learn.mit.edu/c/topic/data-science-analytics-computer-technology"},{"id":747,"name":"Engineering","icon":"RiRobot2Line","parent":null,"channel_url":"https://learn.mit.edu/c/topic/engineering"},{"id":700,"name":"Programming & Coding","icon":"RiRobot2Line","parent":698,"channel_url":"https://learn.mit.edu/c/topic/programming-coding"}],"key":"courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022/resources/6100l-lecture-10-version-3_1_mp4/","uid":null,"title":"Lecture 10: Lists and Mutability","description":"<p>This lecture explores list operations and mutability: mutation, aliasing, and tricky examples with loops over L. Lists and tuples provide a way to organize data that naturally supports iterative functions. Tuples are useful when you have data that doesn’t need to change, e.g., (latitude, longitude) or (page #, line #). Lists are useful in dynamic situations, e.g., a list of daily top 40 songs or a list of recently watched movies.</p>\n","require_summaries":false,"url":"https://ocw.mit.edu/courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022/resources/6100l-lecture-10-version-3_1_mp4/","content_feature_type":["Lecture Videos"],"content_type":"video","content_title":"Lecture 10: Lists and Mutability","content_author":null,"content_language":null,"checksum":"636a040557aff0243828111240c43877","image_src":"https://i.ytimg.com/vi/Z4bm7xzYpKM/hqdefault.jpg","resource_id":"13920","resource_readable_id":"6.100L+fall_2022","source_path":null,"course_number":["6.100L"],"file_type":"video/mp4","file_extension":".mp4","offered_by":{"code":"ocw","name":"MIT OpenCourseWare","channel_url":"https://learn.mit.edu/c/unit/ocw","display_facet":true},"platform":{"code":"ocw","name":"MIT OpenCourseWare"},"run_readable_id":"0d7cf6b107d34577985819e9881653f8","edx_module_id":null,"youtube_id":"Z4bm7xzYpKM"}],"description":"<p>This lecture explores list operations and mutability: mutation, aliasing, and tricky examples with loops over L. Lists and tuples provide a way to organize data that naturally supports iterative functions. Tuples are useful when you have data that doesn’t need to change, e.g., (latitude, longitude) or (page #, line #). Lists are useful in dynamic situations, e.g., a list of daily top 40 songs or a list of recently watched movies.</p>\n","created_on":"2024-04-24T13:18:13.126801Z","readable_id":"Z4bm7xzYpKM","title":"Lecture 10: Lists and Mutability","full_description":"MIT 6.100L Introduction to CS and Programming using Python, Fall 2022\nInstructor: Ana Bell\n\nView the complete course: https://ocw.mit.edu/courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022/\nYouTube Playlist: https://www.youtube.com/playlist?list=PLUl4u3cNGP62A-ynp6v6-LGBCzeH3VAQB\n\nThis lecture explores list operations and mutability: mutation, aliasing, and tricky examples with loops over L. Lists and tuples provide a way to organize data that naturally supports iterative functions. Tuples are useful when you have data that doesn’t need to change, e.g., (latitude, longitude) or (page #, line #). Lists are useful in dynamic situations, e.g., a list of daily top 40 songs or a list of recently watched movies.\n\nLicense: Creative Commons BY-NC-SA\nMore information at https://ocw.mit.edu/terms\nMore courses at https://ocw.mit.edu\nSupport OCW at http://ow.ly/a1If50zVRlQ\n\nWe encourage constructive comments and discussion on OCW’s YouTube and other social media channels. Personal attacks, hate speech, trolling, and inappropriate comments are not allowed and may be removed. More details at https://ocw.mit.edu/comments.","last_modified":"2024-04-24T12:54:17Z","published":true,"languages":null,"url":"https://ocw.mit.edu/courses/6-100l-introduction-to-cs-and-programming-using-python-fall-2022/resources/6100l-lecture-10-version-3_1_mp4/","resource_category":"Lecture Video","ocw_topics":[],"professional":false,"next_start_date":null,"availability":"anytime","completeness":1.0,"license_cc":true,"test_mode":false,"continuing_ed_credits":null,"location":"","duration":"","min_weeks":null,"max_weeks":null,"time_commitment":"","min_weekly_hours":null,"max_weekly_hours":null,"require_summaries":false}