Skip to content

python 拉丁猪文字游戏 #8

@lionzhnn

Description

@lionzhnn

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;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions