我想寫一個程序,它需要兩個列表並返回一個列表,它是每個列表中兩個參數的逐個元素的乘法。 如果列表的長度不同,它應該返回一個列表,其長度與兩者中較短的一樣長。這是我寫的: s = raw_input("Enter the first list:")
c = list(s)
c = s.split()
c = map(int, c)
t = raw_input("Enter the seco
我以初學者的Python當然,這是活性的教訓之一: 我的代碼: print "How old are you?",
age = raw_input()
print "How tall are you?",
height = raw_input()
print "How much do you weigh?"
weight = raw_input()
print "So, you're