[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 130
  • Last Modified:

slice s[1:-1]

s[1:-1]

word is 'hello'

what will this slice print
0
rgb192
Asked:
rgb192
1 Solution
 
käµfm³d 👽Commented:
Why not try it out?
0
 
rgb192Author Commented:
I am learning the python debugger and creating many variables

I think the answer is
 ell
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now