learn.md 683 字节
Newer Older
F
feilong 已提交
1 2
# 代码块

F
feilong 已提交
3
请点击[代码块](https://codechina.csdn.net/courses/register/2/8){target="_blank"} 并完成所有题目,完成学习请关闭Issue。
F
feilong 已提交
4

F
feilong 已提交
5
通过对[代码块](https://codechina.csdn.net/courses/register/2/8){target="_blank"}的学习,以下哪个代码块语法不对?
F
feilong 已提交
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

## 答案

```bash
行内代码块 ```hello```
```

## 选项

### A

```bash
行内代码块 `hello`
```

### B

````bash
F
fix bug  
feilong 已提交
24
```hack_diff
F
feilong 已提交
25 26 27
var foo = 'bar';
+ var x = 200;
* var x = 100;
F
fix bug  
feilong 已提交
28 29
```hack_
````
F
feilong 已提交
30 31 32 33

### C

````bash
F
fix bug  
feilong 已提交
34
```hack_python
F
feilong 已提交
35 36 37 38 39 40 41 42
def fibo(max):
    n, a, b = 0, 0, 1
    while n < max:
        yield b
        a, b = b, a + b
        n = n + 1  
for n in fibo(10):
    print (n)
F
fix bug  
feilong 已提交
43 44
```hack_
````