猫史档案馆


【Python】新作亮相!查询星座!V 1.0.0

用户:build_一只建筑师吖build_一只建筑师吖查看:7 回复:4 评论:7 创建时间:2020-05-30T21:20:24


#新作
#可以查询星座的程序~
#可以无限查询哟~
#还可以推荐给你的小伙伴们
#加油!
constellation=('摩羯座','水瓶座','双鱼座','白羊座','金牛座','双子座','巨蟹座','狮子座','喵座','天秤座','天蝎座','射手座')
month=(1,2,3,4,5,6,7,8,9,10,11,12)
while True:
    a=int(input("请输入你的出生月份:"))
    for i in range(12):
        if a==month[i]:
            for f in range(100):
                  print("OK,loading……")
            print(constellation[i])
        if a>12:
            print('——————————————————————————-')
            print('☢☒×wrong!not a month!错误!请输入正确月份!×☒☢')
        if a==0:
                print('——————————————————————————-')
                print('☢☒×wrong!not a month!错误!请输入正确月份!×☒☢')

不喜勿喷!


回复

上一页1 页 / 共 1下一页
build_一只建筑师吖build_一只建筑师吖

不喜勿喷!不喜勿喷!不喜勿喷!不喜勿喷!

点赞0


评论


追梦喵aowC追梦喵aowC

嗯,我吉岛你这个作品,我也上那个课程了

点赞0


评论


ZCH幻影深渊ZCH幻影深渊

<head>
    <meta charset="utf-8">
    <script>
        window.alert("来康康叭~");
    </script>

</head>
<form action="https://shequ.codemao.cn/?from=vippc">
    <div>
        <label for="name" id="name"><span style="color:#ff0000">请</span><span style="color:#ff9900">输</span><span style="color:#ffcc00">入</span><span style="color:#66cc00">姓</span><span style="color:#00ffcc">名</span><span style="color:#66ccff">:</span></label></strong>
        <input type=" name " value=输入叭~ /form>
    </div>
    <div>

        <label for="email" id="email"><span style="color:#ff0000">请</span><span style="color:#ff9900">输</span><span style="color:#ffcc00">入</span><span style="color:#66cc00">邮</span><span style="color:#00ffcc">箱</span><span style="color:#66ccff">:</span></label>
        </label>
        <label for=" email " id="enail "></label>
        <input type=" email " name="email " id="enail "></div>


    <!DOCTYPE html>
    <html>

    <form action="">
        <textarea name="message" id="message" cols="30" rows="10">输入留言:</textarea>

        <body background="https://p1.pstatp.com/large/8150/3129922268">
            <a href="https://shequ.codemao.cn/user/4375666">来看看叭~</a>
            <label for="passworld" type="passworld" id="passworld">输入密码</label>
            <input type="passworld" name="passworld" id="passworld" value="请输入密码"></label>
            <input type="submit" name="submit1" id="submit1">

点赞0


评论


蒟蒻OIer1048576蒟蒻OIer1048576

有bug呢,输入-1不会有任何结果

点赞0


评论