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
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)