Added syntax highlighting

This commit is contained in:
Randy8080 committed 2021-02-18 11:25:39 +08:00
1 parent bf78e3be37
commit d62e94b78a
1 file changed
+2 -2
+2 -2
View File
@@ -301,7 +301,7 @@ Loop through the letters in the word "banana"
---
```
```python
>>> s = 'mybacon'
>>> s[2:5]
'bac'
@@ -412,7 +412,7 @@ txt3 = "My name is {}, I'm {}".format("John",36)
```
### Input
```
```python
>>> name = input("Enter your name: ")
Enter your name: Tom
>>> name