Answer the question
In order to leave comments, you need to log in
Annotations in python?
Why do we need annotations in functions? There is an example:
def f(a:'spam', b:(1,10), c: float) -> int:
return a+b+c
f(5,6,7) - #вернет конечно же 18
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question