Match every statement with the corresponding type of slice expression.
Slice expressions
Simple vs Full
Report a typo
Choose one option for each row
| Simple slice expressions | Full slice expressions | |
|---|---|---|
| Support strings and substrings | ||
Use the s[low:high] syntax | ||
Use the s[low:high:max] syntax | ||
Only the low range index can be omitted | ||
| Any range index can be omitted | ||
| Do not support strings and substrings |
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.