首页 >后端开发 >Python教程 >First ever beginner Python Project

First ever beginner Python Project

Barbara Streisand
Barbara Streisand原创
2024-09-19 14:15:14448浏览

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.

以上是First ever beginner Python Project的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn