题目内容
请修改以下代码,在序号所在的位置输入正确的内容,使其可以正常运行。-----------------------------------------(1)print()函数:打印print 'whats your name?' (2)#input():输出myName=(3)()#+:字符串拼接print('Its good to meet you ' (4)myName)#len()计算字符串的长度print('The Length of your name is '+((6)(5)(myName)))print('Whats your age?')#int()转换为整型myAge=int((7))# str()转换为字符串类型print('You will be '+(8)(myAge +1 ) +' in a year')#float()转换为浮点类型
查看答案
搜索结果不匹配?点我反馈