输入:
How can mirrors be real if our eyes are not real
输出:
How Can Mirrors Be Real If Our Eyes Are Not Real
def to_jade_cased(string):
def upcase(string):
return (string[0:1].upper()+string[1:])
return (upcase(string))
if __name__=='__main__':
text='How can mirrors be real if our eyes are not real'
txt=text.split()
length=len(txt)
i=0
text_1=[]
for i in range(0,length,1):
text_1.append(to_jade_cased(txt[i]))
print(' '.join(text_1))