newsgenerator.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:WorldsAtWar 作者: heidi666 项目源码 文件源码
def rebeladmiral(): #type 6
    imgloc = static('actionnews/rebeladmiral.gif')
    data = """<center> \
            One of your admirals is gathering popularity with the people. You have even <br> \
            heard rumours that he might dare to rise against you! What should be done?\
            <p class="halfline">&nbsp;</p> \
            <img src="%s" alt="rebeladmiral"> \
            <p class="halfline">&nbsp;</p> \
            <table> \
            <tr> \
            <td class='center'><input type='submit' name='radmiralignore' value='Ignore' class='button'  \
                    title='Your people love you, they would never rebel. Ignore this annoyance.'/></td>  \
            <td class='center'><input type='submit' name='radmiralbribe' value='Bribe' class='button'  \
                    title='Pay 250 GEU to convince the admiral to retire with a comfortable pension.'/></td>  \
            <td class='center'><input type='submit' name='radmiralspy' value='Assassinate' class='button'  \
                    title='Send a spy to cause the admiral to have an \'unfortunate accident\'.'/></td>  \
            </tr> \
            </table> \
            </center>""" % imgloc
    return data
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号