a = "Hello Python World"
b = ""
c = ""
n = ""
g = 0
j = 0
for i in range(0,3):
while a[j] != ' ':
if g == 0:
b += a[j]
elif g == 1:
c += a[j]
elif n == 1:
n += a[j]
j += 1
g += 1
for i in b:
if ord(i) >= 65 and ord(i) <= 90:
i += 32
else:
i -= 32
for i in c:
if ord(i) >= 65 and ord(i) <= 90:
i += 32
else:
i -= 32
for i in n:
if ord(i) >= 65 and ord(i) <= 90:
i += 32
else:
i -= 32
print(b[::-1])
print(c[::-1])
print(n[::-1])
To embed this project on your website, copy the following code and paste it into your website's HTML: