Netbyzz

#B016

Python :

#CODE = #B016
# Fun with Strings
message = input("Enter a message: ")

# Transformations
print("All uppercase:", message.upper())
print("All lowercase:", message.lower())
print("Reverse message:", message[::-1])
print("Title case:", message.title())
print("Replace vowels with '*':", message.replace('a', '*').replace('e', '*').replace('i', '*').replace('o', '*').replace('u', '*'))

# Split and join
words = message.split()
reversed_words = ' '.join(reversed(words))
print("Words reversed:", reversed_words)

input()

Source Code