pyvec / pyvec/naucse.python.cz
century = birth_years // 100 + 1
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 335
- Forks
- 119
- Avg merge
- 3h 6m
- Merged PRs (30d)
- 1
Description
Tohle nefunguje:
>>> birth_years = 2000
>>> century = birth_years // 100 + 1
21
Rok 2000 patří ještě do 20. století.
Můžeme argumentovat, že pro naše data to funguje, ale vhledem k tomu, že všechna naše data jsou v intervalu <1901; 1999> tak by fungovalo i (něco jako) return 20.
Vzhledem k výuce Pandas je tahle výtka irelevantní, jen mě to trklo.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The affected lesson or example is not named in the issue; search the repository for birth_years // 100 + 1 and reproduce the 2000 case. Done means the teaching example handles the 2000 boundary correctly while preserving the intended behavior for the lesson’s data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- content
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100