Question 11
var1 = \'Hello Geeks!\'
var2 = \"GeeksforGeeks\"
print ( var1[0], var2[1:5])
Question 12
var1 = \'Geeks\'
print(var1[:4] + \'for\' + \'Geeks\')
Question 13
print (\'C:\\\\inside C directory\')
Question 14
Question 14: What is the output of the following program?
Python:
[caption width="800"] [/caption]Question 15
Question 15: What is the output of the following program?
print (\'\\x25\\x26\')
Question 16
a = \"GeeksforGeeks \"
b = 13
print (a + b)
Question 17
def gfgFunction():
\"Geeksforgeeks is cool website for boosting up technical skills\"
return 1
print (gfgFunction.__doc__[17:21])
Question 18
a = \"This is a string\"
print a
Question 19
a = \"This is a string\"
print(a.count(\"i\"))
Question 20
What will be the output of the following Python expression if x=56.236?
print("%.2f"%x)
There are 21 questions to complete.