Home >Backend Development >Python Tutorial >First ever beginner Python Project

First ever beginner Python Project

Barbara Streisand
Barbara StreisandOriginal
2024-09-19 14:15:14417browse

I am currently trying to get better at coding. I started learning when I was younger, took a huge break, and am starting once again. I knew that card games were pretty common for beginner projects, so I made one, that being GO Fish. I felt like it would challenge me as a beginner and it for sure did.

First ever beginner Python Project

My code is similar to the GO Fish game just that the it uses only 2 players, you and a bot. It has several functions resembling actions you would normally do. Like asking for a card, drawing a card, setting a book, even just picking a card. The entirety of the process takes form in a while loop that will keep going until the number of cards in the deck is 0/empty.

https://github.com/Erebus-minus/First-Python-Project.git

Hopefully, some of y'all can check my code out and give me pointers on what I did right or what I can change.

The above is the detailed content of First ever beginner Python Project. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn