请编程实现对给定的身份证号’123456196908187890’判别其对应的性别。
a=input("请输入身份证号") for i in a: if i == "9": break print("男") 只针对于这个身份证号,并且我没试过,不知道对不对唉