HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Quizzes
  2. /A five-letter string is sliced with a negative step. Which of these slices give the string cba? Choose every correct option.
Python ProgrammingHardHigh School (11–12)Python Basics › StringsClass 12 BoardPCAP (Python Institute)
+3 more exams
APA-LevelIB
APA-LevelIBPCAP (Python Institute)
StemPy LabCreated by StemPy Lab

A five-letter string is sliced with a negative step. s = "abcde" Which of these slices give the string cba? Choose every correct option.

One or more options are correct. Tick all the correct ones: a wrong option costs marks, and a part-right answer earns part of the marks.

Log in to save
← All Quizzes
← A string with spaces and dashes is cleaned and then split in two ways. What does the program print?A line of text is to be cut at its first = sign only. One line of the program is missing. Which line, put in place of ____, makes the program print name | Ada=Lovelace? →
More onPython Basics › Strings

Discussion (0)

Log in to join the discussion.

Loading…

More questions on this topic

  1. A function builds the initials of a name, which has two spaces after its first word. Then the…Medium
  2. Five claims about the word loop use the in operator, slices that start inside or past the end, and…Hard
  3. A loop cuts a string into pieces of two characters and builds a new string from the pieces. What…Medium
  4. A student wants to change the word "data" so that it starts with a capital D. The program starts…Medium
  5. A program takes two characters and a slice from a word. What does the program print?Easy
All questions on this topic →

Problems on this topic

  1. For the text "the cat sat on the mat", write the program lines that show: how many times at occurs…Medium
  2. A student wants to change the name "Rahul" to "Raju" and writes…Medium
  3. The variable word = "elephant" has eight letters…Easy
  4. The name is "asha rao". Show its initials in capital letters: AR.Hard
All problems on this topic →