zjfz-2019-s402281/intro/Task103.py

12 lines
198 B
Python
Raw Normal View History

2020-01-12 13:11:00 +01:00
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""Rozwiązanie zadania 103."""
def probability(abc):
"""Komentarz"""
if abc >= 0.0 and abc <= 1.0:
return abc
else:
return 0