indexes and tweaks

This commit is contained in:
Will McGugan
2022-09-06 13:26:55 +01:00
parent 9aa7228fda
commit 4a7f601205
5 changed files with 7 additions and 49 deletions

View File

@@ -68,8 +68,9 @@ def repeat(text: str, count: int) -> str:
return text * count
```
- Parameter types follow a colon. So `text: str` indicates that `text` requires a string and `count: int` means that `count` requires an integer.
- Return types follow `->`. So `-> str:` indicates this method returns a string.
Parameter types follow a colon. So `text: str` indicates that `text` requires a string and `count: int` means that `count` requires an integer.
Return types follow `->`. So `-> str:` indicates this method returns a string.
## The App class