This website works better with JavaScript.
Explore
Register
Sign In
quwiier
/
programming-basics-2022
forked from
ottergottaott/programming-basics-2022
Watch
1
Star
0
Fork
You've already forked programming-basics-2022
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6
Commits
4
Branches
0
Tags
384 KiB
Tag:
Branch:
Tree:
62bf998997
main
pr2
practice1_dev
practice4
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '62bf998997'
${ noResults }
programming-basics-2022
/
02
/
01.py
4 lines
50 B
Raw
Normal View
History
Unescape
Escape
Code from second seminar. Here are examples of *functions* and *higher-order functions*. All signatures of functions are annotated with types and could be typechecked with mypy or pyright.
2 years ago
from
main_01
import
is_prime
print
(
is_prime
(
17
)
)