newsgenerator.py 文件源码

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

项目:WorldsAtWar 作者: heidi666 项目源码 文件源码
def durasteroid(): #type 8
    imgloc = static('actionnews/durasteroid.gif')
    data = """<center> \
            An asteroid impacts on your world, with minor casualties. Quality of <br> \
            life drops slightly, but you discover the asteroid is full of duranium! \
            <p class="halfline">&nbsp;</p> \
            <img src="%s" alt="durasteroid"> \
            <p class="halfline">&nbsp;</p> \
            <table> \
            <tr> \
            <td class='center'><input type='submit' name='durasteroidmine' value='Mine' class='button'  \
                    title='Extract as much as you can.'/></td>  \
            </tr> \
            </table> \
            </center>""" % imgloc
    return data
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号