将python3的代码区标识改为python,因为typora不能识别python3,同时改为python对高亮阅读并没有影响,而且python对其他markdown软件的兼容性更好。

This commit is contained in:
borninfreedom
2021-06-15 16:13:23 +08:00
parent e1bbd30d8e
commit 999bbae8c2
3 changed files with 3 additions and 3 deletions

View File

@ -107,7 +107,7 @@ public int[] twoSum(int[] nums, int target) {
Python Python
```python3 ```python
class Solution: class Solution:
def twoSum(self, nums: List[int], target: int) -> List[int]: def twoSum(self, nums: List[int], target: int) -> List[int]:
hashmap={} hashmap={}

View File

@ -118,7 +118,7 @@ class Solution {
``` ```
Python Python
```python3 ```python
class Solution: class Solution:
def intersection(self, nums1: List[int], nums2: List[int]) -> List[int]: def intersection(self, nums1: List[int], nums2: List[int]) -> List[int]:
result_set = set() result_set = set()

View File

@ -239,7 +239,7 @@ class MyLinkedList {
``` ```
Python Python
```python3 ```python
# 单链表 # 单链表
class Node: class Node: