This website works better with JavaScript
Home
Explore
引导页
在线工具
Blog
Register
Sign In
Pchen0
/
Python
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Tree:
ff4b2b5147
Branches
Tags
master
Python
/
code
/
生成绝对值.py
生成绝对值.py
61 B
History
Raw
1
2
3
4
5
6
7
x = float(input())
if x>=0:
y=x
else:
y=-x
print(y)