mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): Resolved quotes issue in python review test (#66082)
This commit is contained in:
parent
e8580015fc
commit
0b414c7b50
@ -160,13 +160,13 @@ print(isinstance('John Doe', int)) # False
|
||||
|
||||
```py
|
||||
developer = 'Jessica'
|
||||
city = 'Los Angeles'
|
||||
city = "Los Angeles"
|
||||
```
|
||||
|
||||
- **Accessing Characters from Strings**: You can access characters from strings by using bracket notation like this:
|
||||
|
||||
```py
|
||||
my_str = "Hello world"
|
||||
my_str = 'Hello world'
|
||||
|
||||
print(my_str[0]) # H
|
||||
print(my_str[6]) # w
|
||||
|
||||
@ -160,13 +160,13 @@ print(isinstance('John Doe', int)) # False
|
||||
|
||||
```py
|
||||
developer = 'Jessica'
|
||||
city = 'Los Angeles'
|
||||
city = "Los Angeles"
|
||||
```
|
||||
|
||||
- **Accessing Characters from Strings**: You can access characters from strings by using bracket notation like this:
|
||||
|
||||
```py
|
||||
my_str = "Hello world"
|
||||
my_str = 'Hello world'
|
||||
|
||||
print(my_str[0]) # H
|
||||
print(my_str[6]) # w
|
||||
|
||||
Loading…
Reference in New Issue
Block a user