Given a string and a number K, change every kth character to uppercase from beginning in string. Sample Testcase : INPUT string 2 OUTPUT sTrInG
Created 2 years ago
647
Views
4
Comments
a=input("")
b=a.split(" ")
c=b[0]
d=b[1]
e=c.upper[::2]
print(e)
Can you correct it for me ?