zjfz-2019-s393639/intro/Task103.py

5 lines
86 B
Python
Raw Normal View History

2020-01-12 15:40:05 +01:00
def probabilty(x):
if x >= 0 and x<=1:
return x
else:
return 0