├── .gitattributes ├── .gitignore ├── main 2.py └── main.py /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *$py.class 5 | 6 | # C extensions 7 | *.so 8 | 9 | # Distribution / packaging 10 | .Python 11 | build/ 12 | develop-eggs/ 13 | dist/ 14 | downloads/ 15 | eggs/ 16 | .eggs/ 17 | lib/ 18 | lib64/ 19 | parts/ 20 | sdist/ 21 | var/ 22 | wheels/ 23 | share/python-wheels/ 24 | *.egg-info/ 25 | .installed.cfg 26 | *.egg 27 | MANIFEST 28 | 29 | # PyInstaller 30 | # Usually these files are written by a python script from a template 31 | # before PyInstaller builds the exe, so as to inject date/other infos into it. 32 | *.manifest 33 | *.spec 34 | 35 | # Installer logs 36 | pip-log.txt 37 | pip-delete-this-directory.txt 38 | 39 | # Unit test / coverage reports 40 | htmlcov/ 41 | .tox/ 42 | .nox/ 43 | .coverage 44 | .coverage.* 45 | .cache 46 | nosetests.xml 47 | coverage.xml 48 | *.cover 49 | *.py,cover 50 | .hypothesis/ 51 | .pytest_cache/ 52 | cover/ 53 | 54 | # Translations 55 | *.mo 56 | *.pot 57 | 58 | # Django stuff: 59 | *.log 60 | local_settings.py 61 | db.sqlite3 62 | db.sqlite3-journal 63 | 64 | # Flask stuff: 65 | instance/ 66 | .webassets-cache 67 | 68 | # Scrapy stuff: 69 | .scrapy 70 | 71 | # Sphinx documentation 72 | docs/_build/ 73 | 74 | # PyBuilder 75 | .pybuilder/ 76 | target/ 77 | 78 | # Jupyter Notebook 79 | .ipynb_checkpoints 80 | 81 | # IPython 82 | profile_default/ 83 | ipython_config.py 84 | 85 | # pyenv 86 | # For a library or package, you might want to ignore these files since the code is 87 | # intended to run in multiple environments; otherwise, check them in: 88 | # .python-version 89 | 90 | # pipenv 91 | # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. 92 | # However, in case of collaboration, if having platform-specific dependencies or dependencies 93 | # having no cross-platform support, pipenv may install dependencies that don't work, or not 94 | # install all needed dependencies. 95 | #Pipfile.lock 96 | 97 | # poetry 98 | # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control. 99 | # This is especially recommended for binary packages to ensure reproducibility, and is more 100 | # commonly ignored for libraries. 101 | # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control 102 | #poetry.lock 103 | 104 | # PEP 582; used by e.g. github.com/David-OConnor/pyflow 105 | __pypackages__/ 106 | 107 | # Celery stuff 108 | celerybeat-schedule 109 | celerybeat.pid 110 | 111 | # SageMath parsed files 112 | *.sage.py 113 | 114 | # Environments 115 | .env 116 | .venv 117 | env/ 118 | venv/ 119 | ENV/ 120 | env.bak/ 121 | venv.bak/ 122 | 123 | # Spyder project settings 124 | .spyderproject 125 | .spyproject 126 | 127 | # Rope project settings 128 | .ropeproject 129 | 130 | # mkdocs documentation 131 | /site 132 | 133 | # mypy 134 | .mypy_cache/ 135 | .dmypy.json 136 | dmypy.json 137 | 138 | # Pyre type checker 139 | .pyre/ 140 | 141 | # pytype static type analyzer 142 | .pytype/ 143 | 144 | # Cython debug symbols 145 | cython_debug/ 146 | 147 | # PyCharm 148 | # JetBrains specific template is maintainted in a separate JetBrains.gitignore that can 149 | # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore 150 | # and can be added to the global gitignore or merged into this file. For a more nuclear 151 | # option (not recommended) you can uncomment the following to ignore the entire idea folder. 152 | #.idea/ 153 | -------------------------------------------------------------------------------- /main 2.py: -------------------------------------------------------------------------------- 1 | print("Not: Hocam teknofest'den dolayı tüm projelere vakitim kalmadı.") 2 | 3 | elektrik= 500 4 | doğalgaz= 300 5 | su= 400 6 | aidat= 125 7 | internet= 150 8 | print("Hey selam. Mayıs ayında ödediğin faturaları görmek ister misin?\nNot: Küçük harflerle yazınız.") 9 | print(100*"*") 10 | a= str(input("Hangi faturanızı görmek istersiniz: ")) 11 | if a=="elektrik": 12 | print("Bu ayın elektrik faturası:",elektrik) 13 | if a=="doğalgaz": 14 | print("Bu ayın doğalgaz faturası:",doğalgaz) 15 | if a=="su": 16 | print("Bu ayın su faturası:",su) 17 | if a=="aidat": 18 | print("Bu ayın aidat faturası:",aidat) 19 | if a=="internet": 20 | print("Bu ayın internet faturası:",internet) 21 | else: 22 | print("Geçerli kelime gir (Yazımına dikkat et)") -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- 1 | print("Not: Hocam teknofest'den dolayı tüm projelere vakitim kalmadı.") 2 | 3 | print("Hey selam bu programda hangi mesleğe yatkın olduğunu 10 soruda görücez. Hadi başlayalım.\nSoruları küçük harfle evet yada hayır olarak cevaplayınız.") 4 | print(100*"*") 5 | 6 | soru1=input("Soru 1:Suçluları yakalamayı sever misin: ") 7 | if soru1=="evet": 8 | print("Sen polis olabilirsin.") 9 | if soru1=="hayır": 10 | print("Senin polis olman uygun değil başkasına geçelim...") 11 | if soru1!="evet" and soru1!="hayır": 12 | print("Lütfen geçerli kelime giriniz!!!") 13 | print(100*"*") 14 | 15 | soru2=input("Soru 2: Çocuklar ile vakit geçirmeyi sever misin: ") 16 | if soru2=="evet": 17 | print("Sen öğretmen olabilirsin.") 18 | if soru2=="hayır": 19 | print("Senin öğretmen olman uygun değil başkasına geçelim...") 20 | if soru2!="evet" and soru2!="hayır": 21 | print("Lütfen geçerli kelime giriniz!!!") 22 | print(100*"*") 23 | 24 | soru3=input("Soru 3: Yangınları yada insanların hayatlarını kurtarmayı sever misin: ") 25 | if soru3=="evet": 26 | print("Sen itfaiyeci olabilirsin.") 27 | if soru3=="hayır": 28 | print("Senin itfaiyeci olman uygun değil başkasına geçelim...") 29 | if soru3!="evet" and soru3!="hayır": 30 | print("Lütfen geçerli kelime giriniz!!!") 31 | print(100*"*") 32 | 33 | soru4=input("Soru 4: Yemek yapmayı sever misin: ") 34 | if soru4=="evet": 35 | print("Sen aşçı olabilirsin.") 36 | if soru4=="hayır": 37 | print("Senin aşçı olman uygun değil başkasına geçelim...") 38 | if soru4!="evet" and soru4!="hayır": 39 | print("Lütfen geçerli kelime giriniz!!!") 40 | print(100*"*") 41 | 42 | soru5=input("Soru 5: Uçakları sever misin: ") 43 | if soru5=="evet": 44 | print("Sen pilot olabilirsin.") 45 | if soru5=="hayır": 46 | print("Senin pilot olman uygun değil başkasına geçelim...") 47 | if soru5!="evet" and soru5!="hayır": 48 | print("Lütfen geçerli kelime giriniz!!!") 49 | print(100*"*") 50 | 51 | soru6=input("Soru 6: Futbolu sever misin: ") 52 | if soru6=="evet": 53 | print("Sen futbolcu olabilirsin.") 54 | if soru6=="hayır": 55 | print("Senin futbolcu olman uygun değil başkasına geçelim...") 56 | if soru6!="evet" and soru6!="hayır": 57 | print("Lütfen geçerli kelime giriniz!!!") 58 | print(100*"*") 59 | 60 | soru7=input("Soru 7:İnsanları iyileştirmek yada hayatlarını kurtarmayı sever misin: ") 61 | if soru7=="evet": 62 | print("Sen doktor olabilirsin.") 63 | if soru7=="hayır": 64 | print("Senin doktor olman uygun değil başkasına geçelim...") 65 | if soru7!="evet" and soru7!="hayır": 66 | print("Lütfen geçerli kelime giriniz!!!") 67 | print(100*"*") 68 | 69 | soru8=input("Soru 8: Koşmayı sever misin: ") 70 | if soru8=="evet": 71 | print("Sen atlet olabilirsin.") 72 | if soru8=="hayır": 73 | print("Senin atlet olman uygun değil başkasına geçelim...") 74 | if soru8!="evet" and soru8!="hayır": 75 | print("Lütfen geçerli kelime giriniz!!!") 76 | print(100*"*") 77 | 78 | soru9=input("Soru 9: Resim çizmeyi sever misin: ") 79 | if soru9=="evet": 80 | print("Sen ressam olabilirsin.") 81 | if soru9=="hayır": 82 | print("Senin ressam olman uygun değil başkasına geçelim...") 83 | if soru9!="evet" and soru9!="hayır": 84 | print("Lütfen geçerli kelime giriniz!!!") 85 | print(100*"*") 86 | 87 | soru10=input("Soru 10: Tarla işlerini sever misin: ") 88 | if soru10=="evet": 89 | print("Sen çiftçi olabilirsin.") 90 | if soru10=="hayır": 91 | print("Senin çiftçi olman uygun değil başkasına geçelim...") 92 | if soru10!="evet" and soru10!="hayır": 93 | print("Lütfen geçerli kelime giriniz!!!") 94 | print(100*"*") 95 | 96 | print("Benden bu kadar inşallah istediğin mesleğini kazanırsın...") --------------------------------------------------------------------------------