Pytho核心编程第二版(第二,三,四,五章) 答案第二章2-3a=int(input(A=)b=int(input(B=)print(A-B=%d,A+B=%dnA/B=%d,A*B=%d,A%B=%d % (a-b ,a+b ,a/b,a*b,a%b)2-4(a)print(input(Enter a string:)(b)print(int(input(Enter a value:)2-5(a)i=0while i11: print(i) i+=1(b)for i in range(11): print(i)2-6v=int(input(Enter a number to determine positive or negative:)if v0: print(%d is negative % v)elif v=0: print(you enter zero)else: prin