Update formatting

This commit is contained in:
Isabelle Viktoria Maciohsek
2022-01-30 19:18:14 +02:00
parent c95f39e4ba
commit 2a16eb9892
6 changed files with 10 additions and 10 deletions

View File

@ -7,7 +7,7 @@ lastUpdated: 2020-11-02T19:27:07+02:00
Returns the length of a string in bytes.
- Use `str.encode('utf-8')` to encode the given string and return its length.
- Use `str.encode()` to encode the given string and return its length.
```py
def byte_size(s):