how to replace the second letter in a string python code example
Example 1: js for each character in string
for (var i = 0; i < str.length; i++) {
alert(str.charAt(i));
}
Example 2: python capitalize the entire string
message="hi"
print(message)
print(message.upper())