其他分享
首页 > 其他分享> > 同符号运算 信计一班罗逸凡

同符号运算 信计一班罗逸凡

作者:互联网

z = int(input())

m = abs(z)
a = m + 10
b = m - 10
c = m * 10
if (z>0):
a = abs(a)
b = abs(b)
c = abs(c)
else:
a = -abs(a)
b = -abs(b)
c = -abs(c)
print(z,a,b,c)

 

 学号:37

标签:信计,10if,int,10c,37,一班,abs,罗逸凡
来源: https://www.cnblogs.com/lyf238/p/15264937.html