Online Exam Quiz
Menu mobile
Home
GK Today
Subject
CCC Online Test
O Level Online Test
Coding
Python
: Sequence data types in python
एक स्ट्रिंग s="Welcome" में निम्नलिखित में से कौन सा कोड गलत है? , Given a string s="Welcome", which of the following code is incorrect ?
एक स्ट्रिंग s="Welcome" में निम्नलिखित में से कौन सा कोड गलत है?
Given a string s="Welcome", which of the following code is incorrect ?
A. print s[0]
B. print s.lower()
C. s[1]='r'
D. print s.strip()
Correct Answer :
C. s[1]='r'
Explanation
String is immutable i.e. it can't be change in place
Latest Current Affairs 2026
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test , CCC MCQ
Python Coding Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Website development Company in Allahabad