Report Bug

Qus

what will the output of following code

my_string="Hello,world"
print(my_string[-6:-1])
Qus

निम्नलिखित कोड का आउटपुट क्या होगा

my_string="Hello,world"
print(my_string[-6:-1])


A. ',worl'
B. 'worl'
C. 'world'
D. 'oworld'


Solution
A. ',worl'



CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad