forked from filipg/pjfz-2020
update points
This commit is contained in:
parent
f9900e247f
commit
5bb4776e36
@ -9,7 +9,7 @@ Napisz funkcję `add_three_numbers` zwracającą sumę trzech liczb całkowitych
|
|||||||
NAME: add_three_numbers
|
NAME: add_three_numbers
|
||||||
PARAMS: int, int, int
|
PARAMS: int, int, int
|
||||||
RETURN: int
|
RETURN: int
|
||||||
POINTS: 3
|
POINTS: 1
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
|
@ -12,7 +12,7 @@ liczba 0.
|
|||||||
NAME: probability
|
NAME: probability
|
||||||
PARAMS: double
|
PARAMS: double
|
||||||
RETURN: double
|
RETURN: double
|
||||||
POINTS: 2
|
POINTS: 1
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ powinna zwracać zawsze -459.67.
|
|||||||
NAME: fahrenheit
|
NAME: fahrenheit
|
||||||
PARAMS: float
|
PARAMS: float
|
||||||
RETURN: float
|
RETURN: float
|
||||||
POINTS: 2
|
POINTS: 1
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
|
@ -11,7 +11,7 @@ podana liczba nie dzieli się przez żadną liczbę z zakresu od 2 do
|
|||||||
NAME: is_almost_prime
|
NAME: is_almost_prime
|
||||||
PARAMS: int, int
|
PARAMS: int, int
|
||||||
RETURN: bool
|
RETURN: bool
|
||||||
POINTS: 3
|
POINTS: 1
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
|
@ -11,7 +11,7 @@ należy zwrócić wartość `otherwise`.
|
|||||||
NAME: penultimate
|
NAME: penultimate
|
||||||
PARAMS: list, obj
|
PARAMS: list, obj
|
||||||
RETURN: obj
|
RETURN: obj
|
||||||
POINTS: 2
|
POINTS: 1
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
|
@ -10,7 +10,7 @@ zadanych liczb. Dla listy pustej powinna zostać zwrócona wartość zero.
|
|||||||
NAME: list_cubed
|
NAME: list_cubed
|
||||||
PARAMS: list
|
PARAMS: list
|
||||||
RETURN: obj
|
RETURN: obj
|
||||||
POINTS: 3
|
POINTS: 1
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
|
@ -11,7 +11,7 @@ drugą literę na wielką. Np. `pokemon_speak('pokemon')` powinno zwrócić
|
|||||||
NAME: pokemon_speak
|
NAME: pokemon_speak
|
||||||
PARAMS: string
|
PARAMS: string
|
||||||
RETURN: string
|
RETURN: string
|
||||||
POINTS: 4
|
POINTS: 1
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
|
@ -11,7 +11,7 @@ tekstowego `filename` zwraca liczbę wierszy w pliku zawierających
|
|||||||
NAME: count_yes_lines
|
NAME: count_yes_lines
|
||||||
PARAMS: string
|
PARAMS: string
|
||||||
RETURN: int
|
RETURN: int
|
||||||
POINTS: 3
|
POINTS: 1
|
||||||
"""
|
"""
|
||||||
import unittest
|
import unittest
|
||||||
from Task109 import count_yes_lines
|
from Task109 import count_yes_lines
|
||||||
|
@ -14,7 +14,7 @@ oddzielone są spacjami (np. dla `pies, czyli kot` powinno wyjść `5 5
|
|||||||
NAME: word_to_length
|
NAME: word_to_length
|
||||||
PARAMS: file, file
|
PARAMS: file, file
|
||||||
RETURN: string
|
RETURN: string
|
||||||
POINTS: 5
|
POINTS: 1
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
|
Loading…
Reference in New Issue
Block a user