Write a code to iterate through your name by taking input and print each letter in uppercase using loop. This should work if every letter of your name is in lowercase
Sample Input: sakib
Sample Output: S A K I B
Hint: You can convert a letter to uppercase using the function upper(). If your character, c = "j", use c.upper() to convert it to "J"
1
Expert's answer
2021-08-26T10:09:10-0400
name = input()
for ch in name:
print(ch.upper(), end=' ')
print()
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment