print(message.count("is"))
OR
message.count("is")
OR
Any other correct variation of the code
(a) print("A"*3)
(b) print(5*3)
(c) print("15"+3)
(d) print("15"+"13")(a) MISSI#SIPPI (b) MISS#SIPPI (c) MISS#IPPIS (d) MISSI#IPPIS
(a) 'G20' (b) ['Presidency@2023'] (c) ['G20'] (d) 'Presidency@2023'
S="Racecar Car Radar"
L=S.split()
for W in L:
x=W.upper()
if x==x[::-1] :
for I in x :
print(I, end="*")
else:
for I in W :
print(I,end="#")
print()
a) ('Amrit Mahotsav', '@', '75')
b) ['Amrit', 'Mahotsav', '@', '75']
c) ('Amrit', 'Mahotsav @ 75')
d) ('Amrit', ' ', 'Mahotsav @ 75')
d) ('Amrit', '', 'Mahotsav @ 75')
or
Error in code OR no correct option
Note:
print(A) is wrongly typed as print(a)