Q21. Write the output of the following:
Q22. Which operator is used for string concatenation?
Q23. Write the output of the following code :
for i in (1,2,3):
print("@" * i)
Q24. How many operators are used in the following statement?
Q25. Write the output of the following code :
s="blog"
for i in range(-1,-len(s),-1):
print(s[i],end="$")
Q26. Write the output of the following code :
s= "str"
s1 = "string"
print(s1 in s)
Q27. Write the output of the following code :
Q28. What is the ASCII value of "A"?
Q29. Write the output of the following code :
Q30. Write the output of the following code :
for i in range(65,70):
print(chr(i))