lucydot / KD5081-Checklist

https://lucydot.github.io/KD5081-Checklist
Other
0 stars 0 forks source link

Question proposal #43

Open lucydot opened 1 year ago

lucydot commented 1 year ago

Authors

@lucydot

Title

Slicing lists

Question

Use Python slicing to select 'nan' from the word 'banana'

Answer

word = 'banana'
print(word[2:5])

Checklist items

✨ @lucydot has up-voted! Total votes: 1

lucydot commented 1 year ago

choochoo vote up

choochoo-bot commented 1 year ago

Your vote has been registered ☑️