issues Search Results · repo:laike9m/Python-Type-Challenges language:Python
Filter by
50 results
(125 ms)50 results
inlaike9m/Python-Type-Challenges (press backspace or delete to remove)This code accepts as correct answer
def foo(x: tuple):
pass
instead
def foo(x: tuple[()]):
pass
Alsiri0n
- 1
- Opened on Nov 6, 2024
- #127
On the website, no matter what you input, when you click run button, it ll show
❌ Challenge failed 😢
Error:
Traceback (most recent call last):
File , line 198, in _run_module_as_main
File , line 88, ...
monchin
- 1
- Opened on Oct 31, 2024
- #126
The type can only be str or int (or their subclasses).
按要求可以是 str 或 int 的子类,那应该用 T = TypeVar( T , bound=int|str) 吧?
zrquan
- 1
- Opened on Sep 30, 2024
- #124
Wanted to flag that the site is inaccessible atm, at least to me.
$ openssl s_client -showcerts -servername python-type-challenges.zeabur.app -connect python-type-challenges.zeabur.app:443 /dev/null ...
aThorp96
- 3
- Opened on Sep 23, 2024
- #123
Hi, I believe there is a bug in the in Intermediate empty-tuple exercise.
Relevant code:
foo((1)) # expect-type-error
(1) is not a tuple, but rather an integer, I believe a comma is missing. In effect, ...
dabure
- 2
- Opened on Sep 22, 2024
- #121
In your solution to the extreme concatenate problem you propose:
def transform[T, **P](f: Callable[Concatenate[Any, P], T]):
def wrapper(value: Person, *args: P.args, **kwargs: P.kwargs) - T:
...
dennis-rall
- 3
- Opened on Jan 29, 2024
- #115
As we have random challenge entrance, we can add it to README.
documentation
F-park
- Opened on Jan 28, 2024
- #110
https://github.com/laike9m/Python-Type-Challenges/assets/52167622/a9b6d16a-8b18-4093-8ceb-bb37fcf2a236
bug
F-park
- 1
- Opened on Jan 27, 2024
- #109
Description
In black 24.1.0, many challenges will be formatted by black
Dummy class and function implementations consisting only of ... are formatted more compactly
class Undergraduate:
...
It ...
F-park
- 1
- Opened on Jan 26, 2024
- #106
Description
Currently, click random button will reload the page, and all passed-icon will reload.
image image
performance
F-park
- 3
- Opened on Jan 26, 2024
- #104

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.