ProgrammingProjectList icon indicating copy to clipboard operation
ProgrammingProjectList copied to clipboard

python 拉丁猪文字游戏

Open lionzhnn opened this issue 7 years ago • 0 comments

print 'kill game by input end' refdoc=['a','e','i','o','u']; while 1: s=input("input string:"); if s=='end': print 'end game'; break; if s[0] not in refdoc: s1=s[1:]+'-'+s[0]+"ay"; print s1;

lionzhnn avatar Apr 12 '18 07:04 lionzhnn