mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum):add a dot in the comments to reflect python output (#65550)
This commit is contained in:
+1
-1
@@ -186,7 +186,7 @@ quote = "She said, \"Hello!\""
|
||||
|
||||
```py
|
||||
developer = 'Jessica'
|
||||
print('My name is ' + developer + '.') # My name is Jessica
|
||||
print('My name is ' + developer + '.') # My name is Jessica.
|
||||
```
|
||||
|
||||
Another way to concatenate strings is by using the `+=` operator. This is used to perform concatenation and assignment in the same step like this:
|
||||
|
||||
@@ -186,7 +186,7 @@ quote = "She said, \"Hello!\""
|
||||
|
||||
```py
|
||||
developer = 'Jessica'
|
||||
print('My name is ' + developer + '.') # My name is Jessica
|
||||
print('My name is ' + developer + '.') # My name is Jessica.
|
||||
```
|
||||
|
||||
Another way to concatenate strings is by using the `+=` operator. This is used to perform concatenation and assignment in the same step like this:
|
||||
|
||||
Reference in New Issue
Block a user