09-05-周五_10-55-25
This commit is contained in:
@@ -124,7 +124,7 @@ print(type(b))
|
||||
```python
|
||||
a = "Eagle's Lab"
|
||||
b = '''
|
||||
欢迎大家来到英格科技!
|
||||
欢迎大家!
|
||||
今天我们学习python!'''
|
||||
|
||||
print(a,b)
|
||||
@@ -134,14 +134,14 @@ print(a,b)
|
||||
|
||||
```python
|
||||
Eagle's Lab
|
||||
欢迎大家来到英格科技!
|
||||
欢迎大家!
|
||||
今天我们学习python!
|
||||
```
|
||||
|
||||
字符串拼接
|
||||
|
||||
```python
|
||||
a = 'eagle '
|
||||
a = 'hello '
|
||||
b = 'welcome '
|
||||
print(b + a,'*' * 3,a * 3)
|
||||
```
|
||||
@@ -149,7 +149,7 @@ print(b + a,'*' * 3,a * 3)
|
||||
运行结果
|
||||
|
||||
```python
|
||||
welcome eagle *** eagle eagle eagle
|
||||
welcome hello *** hello hello hello
|
||||
```
|
||||
|
||||
## 布尔值(True, False)
|
||||
|
Reference in New Issue
Block a user