摸索了半天,解决了IDLE里面的缩进问题。
a=int(input('number')) if a>=0: print(a) else: print(-a)
Sign in to make a reply
VH立华
摸索了半天,解决了IDLE里面的缩进问题。