55 lines
		
	
	
		
			609 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			609 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | ||
| id: 5e7b9f050b6c005b0e76f058
 | ||
| title: 根据条件执行
 | ||
| challengeType: 11
 | ||
| videoId: gz_IfIsZQtc
 | ||
| bilibiliIds:
 | ||
|   aid: 206949935
 | ||
|   bvid: BV1Jh411z7bY
 | ||
|   cid: 376337035
 | ||
| dashedName: conditional-execution
 | ||
| ---
 | ||
| 
 | ||
| # --question--
 | ||
| 
 | ||
| ## --text--
 | ||
| 
 | ||
| 以下哪个代码缩进,能够满足当“x=0”和“y=10”的时,打印 "Yes"?
 | ||
| 
 | ||
| ## --answers--
 | ||
| 
 | ||
| ```python
 | ||
| if 0 == x:
 | ||
| if y == 10:
 | ||
| print("Yes")
 | ||
| ```
 | ||
| 
 | ||
| ---
 | ||
| 
 | ||
| ```python
 | ||
| if 0 == x:
 | ||
|     if y == 10:
 | ||
|     print("Yes")
 | ||
| ```
 | ||
| 
 | ||
| ---
 | ||
| 
 | ||
| ```python
 | ||
| if 0 == x:
 | ||
| if y == 10:
 | ||
|     print("Yes")
 | ||
| ```
 | ||
| 
 | ||
| ---
 | ||
| 
 | ||
| ```python
 | ||
| if 0 == x:
 | ||
|     if y == 10:
 | ||
|         print("Yes")
 | ||
| ```
 | ||
| 
 | ||
| ## --video-solution--
 | ||
| 
 | ||
| 4
 | ||
| 
 |