40 lines
		
	
	
		
			322 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
		
		
			
		
	
	
			40 lines
		
	
	
		
			322 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								id: 5e7b9f080b6c005b0e76f064
							 | 
						||
| 
								 | 
							
								title: Python Lists
							 | 
						||
| 
								 | 
							
								challengeType: 11
							 | 
						||
| 
								 | 
							
								videoId: Y0cvfDpYC_c
							 | 
						||
| 
								 | 
							
								dashedName: python-lists
							 | 
						||
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# --question--
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								## --text--
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								What is the value of x after running this code:
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								```python
							 | 
						||
| 
								 | 
							
								fruit = "banana"
							 | 
						||
| 
								 | 
							
								x = fruit[1]
							 | 
						||
| 
								 | 
							
								```
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								## --answers--
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								banana
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								a
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								b
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								True
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								## --video-solution--
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								2
							 | 
						||
| 
								 | 
							
								
							 |