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 년 전

다른 의견의 확인

콘테스트를 시작하는 방법

  • 콘테스트를 게시하세요

    콘테스트 등록 신속하고 간편한 절차

  • 응모작 접수

    응모작 접수 세계적인 참가 범위

  • 최우수 응모작 선정

    최우수 응모작 선정 자료 파일의 다운로드(초간단!)

콘테스트 바로 등록 (또는, 즉시 회원 가입!)