Educative example of a bad coded Python program that runs without problems

  • ステータス: Closed
  • 賞金: $50
  • 受け取ったエントリー: 30
  • 優勝者: kumar131198

コンテスト概要

Please help us with a Python program that runs without problem, but with bad code. We need this for teaching programming Python on our secondairy school (age 15 years).

So we need;
- Python program with bad code
- Python program with good code

But the input and output is the same and they both run without problems.
An example is repeating code and not using functions.
It is for educational purpose so do not make the code too long.

Good luck!

Greetings, Durk Jan de Bruin

推奨スキル

採用者フィードバック

“I really like it working with Kiran. He is the best on Pyton I have ever met. He delivers high quality results and made us very happy. I will definitely recommend him to anyone. D.J. de Bruin”

プロフィール画像 vw6696473vw, Netherlands.

このコンテストのトップエントリー

エントリーをもっと表示

公開説明ボード

  • jalilbm
    jalilbm
    • 3年間前

    Please check #12 and message me for any details

    • 3年間前
  • nvesram
    nvesram
    • 3年間前

    Entry #19 . Hello Sir. In my opinion, a bad program is the one which complicates the logic and takes more memory and time. Minimising the number of lines is code and making our computationally feasible and taking the advantage of pythonic way of writing the code is my approach here. Hope you like it. Please comment on my work! Thanks. Have a great day!!

    • 3年間前
  • AnwarSharif187
    AnwarSharif187
    • 3年間前

    Please check my entry #34

    • 3年間前
  • SridineshR
    SridineshR
    • 3年間前

    Sir,Please check my entry #4 and do comment on my work

    • 3年間前
  • kumar131198
    kumar131198
    • 3年間前

    Sir, please check my entry #18

    • 3年間前
  • haeckerzz
    haeckerzz
    • 3年間前

    hello sharad here

    • 3年間前

コメントをもっと見る

コンテストの開始方法

  • あなたのコンテストを投稿

    あなたのコンテストを投稿 速くて簡単

  • たくさんのエントリーを集めましょう

    たくさんのエントリーを集めましょう 世界中から

  • ベストエントリーをアワード

    ベストエントリーをアワード ファイルをダウンロード - 簡単!

コンテストを今すぐ投稿 または本日参加!