>>Sum of a and b is 3, and product is 2_python print f">
赞
踩
a=1b=2S=a+bP=a*bprint(f"Sum of a and b is {S}, and product is {P}")
>>>Sum of a and b is 3, and product is 2