Using elif instead of if and nested else-if
まだ誰も着手していません。
評価
調査の方向性
issue で参照されている Caesar 復号スクリプトを見つけ、ネストされた if/else-if 条件を調べます。適切な箇所では、ネストされた条件のスタイルを Python elif に置き換え、その後スクリプトまたは利用可能な例を実行して、復号の動作に変更がないことを確認します。
索引モデルが issue の本文から書いたものです。
説明
Hello,
I'm nowhere near to be good neither at Github nor at Python. But in your Ceaser decipher script, I saw that you used nested if-else if blocks instead of using the more suitable if-elif conditions. I thought that would be better both for you and for the readability of the code. Whatever you choose to do so, I wish you a good day.
- 主要言語
- Python
- スター
- 35.4k
- フォーク
- 12.9k
- 平均マージ
- 2時間 37分
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
geekcomputers/Python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
geekcomputers/Python#3205 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
geekcomputers/Python#3188 · コメント 3 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
geekcomputers/Python#3060 · コメント 1 件 ·
-
[BUG] shapchat オープン
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
geekcomputers/Python#3214 · コメント 5 件 ·
-
Test of an Issue オープン
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
geekcomputers/Python#3209 · コメント 5 件 ·
geekcomputers/Python の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
OpenHands/extensions#626 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
CSCfi/sd-search-api#39 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
StevenBlack/hosts#3255 ·