12 lines
198 B
Python
12 lines
198 B
Python
![]() |
#!/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
|