星座和生日的对照表!
星座 —— 生日 水瓶座 —— 1/21~2/18 双鱼座 —— 2/19~3/20 牡羊座 —— 3/21~4/20 金牛座 —— 4/21~5/21 双子座 —— 5/22~6/21 巨蟹座 —— 6/22~7/22 狮子座 —— 7/23~8/23 处女座 —— 8/24~9/22 天秤座 —— 9/23~10/23 天蝎座 —— 10/24~11/22 射手座 —— 11/23~12/21 摩羯座 —— 12/22~1/20
阴历出生日期与星座对照表
阴历1991年9月17日的阳历是1991年10月24日是;天蝎座(阳历10月23日─11月21日)。
要一份12星座生日对照表
白羊: 03/21 --- 04/20 金牛: 04/21 --- 05/21 双子 : 05/22---06//22 巨蟹 : 06/22--- 07/22 狮子 : 07/23--- 08/23 处女 :08/24--- 09/23 天秤 : 09/24--- 10/23 天蝎 : 10/24--- 11/22 射手 : 11.23--- 12/21 魔羯 : 12/22---01/20 水瓶 : 01/21--- 02/19 双鱼 : 02/20--- 03/20
输入月份和日期给出对应星座
我的这段代码容易理解,对于python小白来说理解起来也不成问题。完整代码如下:
data= int (input("请输入您的出生日数:"))
month=int (input("请输入您的出生月份:"))
year=int (input("请输入您的出生年份:"))
if month==1 and data>=20 or month==2 and data<=18:
print("您的星座是水瓶座")
if month==1 and data>31:
print("您输入的日期有误,请重新输入")
elif month==2 and data>=19 or month==3 and data<=20:
print("您的星座是双鱼座")
if year % 4==0 and year % 100 !=0 or year % 400 ==0:
if month==2 and data>29 :
print("您输入的日期有误,请重新输入")
else:
if month==2 and data>28 :
print("您输入的日期有误,请重新输入")
elif month==3 and data>=21 or month==4 and data<=19:
print("您的星座是白羊座")
if month==3 and data>31:
print("您输入的日期有误,请重新输入")
elif month==4 and data>=20 or month==5 and data<=20:
print("您的星座是金牛座")
if month==4 and data>30 :
print("您输入的日期有误,请重新输入")
elif month==5 and data>=21 or month==6 and data<=21:
print("您的星座是双子座")
if month==5 and data>31 :
print("您输入的日期有误,请重新输入")
elif month==6 and data>=22 or month==7 and data<=22:
print("您的星座是巨蟹座")
if month==6 and data>30 :
print("您输入的日期有误,请重新输入")
elif month==7 and data>=23 or month==8 and data<=22:
print("您的星座是狮子座")
if month==7 and data>31:
print("您输入的日期有误,请重新输入")
elif month==8 and data>=23 or month==9 and data<=22:
print("您的星座是处女座")
if month==8 and data>31:
print("您输入的日期有误,请重新输入")
elif month==9 and data>=23 or month==10 and data<=22:
print("您的星座是天秤座")
if month==9 and data>30:
print("您输入的日期有误,请重新输入")
elif month==10 and data>=23 or month==11 and data<=21:
print("您的星座是天蝎座")
if month==10 and data>31:
print("您输入的日期有误,请重新输入")
elif month==11 and data>=22 or month==12 and data<=21:
print("您的星座是人马座")
if month==11 and data>30 :
print("您输入的日期有误,请重新输入")
elif month==12 and data>=22 or month==1 and data<=19:
print("您的星座是摩羯座")
if month==12 and data>31:
print("您输入的日期有误,请重新输入")
else:
if year<1000:
print("请输入不小于1000的年份")
else:
print("")
现在星座最新的排名及出生日期
新日期的说法:
白羊座 更新日期04.19.~05.13 原来日期03.21.~04.20
金牛座 更新日期05.14.~06.20 原来日期04.21.~05.21
双子座 更新日期06.21.~07.19 原来日期05.22.~06.22
巨蟹座 更新日期07.20.~08.19 原来日期06.23.~07.23
狮子座 更新日期08.20.~09.15 原来日期07.24.~08.23
处女座 更新日期09.16.~10.30 原来日期08.24.~09.23
天秤座 更新日期10.31.~11.22 原来日期09.24.~10.23
天蝎座 更新日期11.23.~11.29 原来日期10.24.~11.22
蛇夫座 更新日期11.30.~12.17
射手座 更新日期12.18.~01.18 原来日期11.23.~12.21
摩羯座 更新日期01.19.~02.15 原来日期12.22.~01.20
水瓶座 更新日期02.16.~03.11 原来日期01.21.~02.19
双鱼座 更新日期03.12.~04.18 原来日期02.20.~03.20
问:哪个生日对应什么星座
依据的是阳历生日
白羊座:3月21日----4月19日 诞生石:钻石
金牛座:4月20日----5月20日 诞生石:蓝宝石
双子座:5月21日----6月20日 诞生石:玛瑙
巨蟹座:6月21日----7月21日 诞生石:珍珠
狮子座:7月22日----8月22日 诞生石:红宝石
处女座:8月23日----9月22日 诞生石:红条纹玛瑙
天秤座:9月23日----10月22日 诞生石:蓝宝石
天蝎座:10月23日----11月21日 诞生石:猫眼石
射手座:11月22日----12月21日 诞生石:黄宝石
魔羯座:12月22日----1月19日 诞生石:土耳其玉
水瓶座:1月20日----2月18日 诞生石:紫水晶
双鱼座:2月19日----3月20日 诞生石:月长石、血石
问:哪个生日对应什么星座
羊3。21 4。19
牛4。20 5。20
子5。21 6。21
蟹6。22 7。22
狮7。23 8。22
女8。23 9。22
秤9。23 10。22
蝎10。23 11。22
射11。23 12。21
羯12。22 1。19
瓶1。20 2。18
鱼2。19 3。20
十二星座生日日期
星座是按出生那年的阳历(新历,公历)生日划分的
下面是星座日期划分表,把阳历生日对照下面的就可以知道是什么星座啦
白羊座 ( 03/21 - 04/20 )
金牛座 ( 04/21 - 05/20)
双子座 ( 05/21 - 06/21)
巨蟹座 ( 06/22- 07/22)
狮子座 ( 07/23 - 08/22)
处女座 ( 08/23 - 09/22)
天秤座 ( 09/23 - 10/23)
天蝎座 ( 10/24 - 11/22)
射手座 ( 11/23 - 12/21)
魔羯座 ( 12/22 - 01/19)
水瓶座 ( 01/ 20- 02/18)
双鱼座 ( 02/19- 03/20)