Podcast
Questions and Answers
what will be the output of the following code?
str="Hello"
str='str'
print(str)
what will be the output of the following code? str="Hello" str='str' print(str)
what will be the output of the following code?
str="Welcome to"python""programming"
print(str)
what will be the output of the following code? str="Welcome to"python""programming" print(str)
what will be the output of the following code?
str="Welcome"
l=len(str)
print(l)
what will be the output of the following code? str="Welcome" l=len(str) print(l)
what is the index value of 'm' in string "Welcome"?
what is the index value of 'm' in string "Welcome"?
Signup and view all the answers
which operator is used for string concatenataion?
which operator is used for string concatenataion?
Signup and view all the answers
what is the output of the following code?
print("gift[1:2])
what is the output of the following code? print("gift[1:2])
Signup and view all the answers
strings are immutable in python
strings are immutable in python
Signup and view all the answers
what is the output of the following code?
str="My age is 23";
print(str.isalnum())
what is the output of the following code? str="My age is 23"; print(str.isalnum())
Signup and view all the answers
the index of the first character of a string is 0.
the index of the first character of a string is 0.
Signup and view all the answers
what will be the output of the following code?
print('abc'+3)
what will be the output of the following code? print('abc'+3)
Signup and view all the answers