Welcome to the Simplilearn Community

Want to join the rest of our members? Sign up right away!

Sign Up
P
Reaction score
18

Profile posts Latest activity Postings About

  • My answer was B.
    According to simplilearn A is correct answer
    my argument was tuple[index] is indexing and not slicing.
    when you mention slicing syntax has to be tuple[start:stop:step] so tuple[-4] is not slicing.
    Can you please comment on this.

    Thank You
    Hi Pulkit,
    I attended you Data Science with Python 21st June 2021 batch.
    In my assessment test there was below question.
    "Is the following slicing technique right?>>>tuple[-4]"
    A. True
    B. False
  • Loading…
  • Loading…
  • Loading…
Top