09-05-周五_10-55-25

This commit is contained in:
2025-09-05 10:55:25 +08:00
parent e3508cb620
commit 4a419b65e1

View File

@@ -124,7 +124,7 @@ print(type(b))
```python ```python
a = "Eagle's Lab" a = "Eagle's Lab"
b = ''' b = '''
欢迎大家来到英格科技! 欢迎大家!
今天我们学习python!''' 今天我们学习python!'''
print(a,b) print(a,b)
@@ -134,14 +134,14 @@ print(a,b)
```python ```python
Eagle's Lab Eagle's Lab
欢迎大家来到英格科技! 欢迎大家!
今天我们学习python! 今天我们学习python!
``` ```
字符串拼接 字符串拼接
```python ```python
a = 'eagle ' a = 'hello '
b = 'welcome ' b = 'welcome '
print(b + a,'*' * 3,a * 3) print(b + a,'*' * 3,a * 3)
``` ```
@@ -149,7 +149,7 @@ print(b + a,'*' * 3,a * 3)
运行结果 运行结果
```python ```python
welcome eagle *** eagle eagle eagle welcome hello *** hello hello hello
``` ```
## 布尔值True, False) ## 布尔值True, False)