TGViewer
Channel Public Channel
Python tests

Python tests

@python_testit

Тесты и задания python разработчиков

По всем вопросам- @notxxx1

@ai_machinelearning_big_data - машинное обучение

@programming_books_it - бесплатные it книги

@pythonl - 🐍

@ArtificialIntelligencedl - AI

@datascienceiot -ds книги
Subscribers
6.89K
Photos
522
Videos
4
Links
48

Showing posts older than #932 · Back to latest

Older Posts 20 shown
Post #925 1.77K
Что выведет код?
def f(arr):
return arr[0] if len(arr) == 1 else arr[0] + f(arr[1:])
print(f([]))
Post #920 1.81K
Что выведет код?
def f(a: int = 2, b: int = 2) -> int:
return a ** b
print(f(3))
Post #915 1.91K
Что выведет код?
def f(arr):
return 0 if not arr else arr[0] + f(arr[1:])
print(f(('a', 'b', 'c', 'd')))
Older posts →
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →