40 lines
		
	
	
		
			779 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
		
		
			
		
	
	
			40 lines
		
	
	
		
			779 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								id: 5e9a093a74c4063ca6f7c166
							 | 
						||
| 
								 | 
							
								title: Python Functions and Collections
							 | 
						||
| 
								 | 
							
								challengeType: 11
							 | 
						||
| 
								 | 
							
								videoId: NzpU17ZVlUw
							 | 
						||
| 
								 | 
							
								dashedName: python-functions-and-collections
							 | 
						||
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# --description--
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								*Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.*
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								More resources:
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								-   [Notebooks on GitHub](https://github.com/ine-rmotr-curriculum/ds-content-python-under-10-minutes)
							 | 
						||
| 
								 | 
							
								-   [How to open Notebooks from GitHub using Google Colab.](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# --question--
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								## --text--
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								What is the main difference between lists and tuples in Python?
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								## --answers--
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Tuples are immutable.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Lists are ordered.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Tuples are unordered.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								## --video-solution--
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								1
							 | 
						||
| 
								 | 
							
								
							 |