Skip to content

Commit 36689cc

Browse files
authored
Fix sentence grammar
Thanks to John Thomas.
1 parent 07a59b6 commit 36689cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Notice that we could have achieved the same using string concatenation:
127127
name + ' is ' + str(age) + ' years old'
128128
```
129129

130-
but that is much uglier and error-prone. Second, the conversion to string would be done automatically by the `format` method instead of the explicit conversion to strings needed in this case. Third, when using the `format` method, we can change the message without having to deal with the variables used and vice-versa.
130+
but that is much uglier and more error-prone. Second, the conversion to string would be done automatically by the `format` method instead of the explicit conversion to strings needed in this case. Third, when using the `format` method, we can change the message without having to deal with the variables used and vice-versa.
131131

132132
Also note that the numbers are optional, so you could have also written as:
133133

0 commit comments

Comments
 (0)