Welcome to another video of the Python Programming tutorial series here on Tutorial Spot.
In this video I go over a brief understanding of how to create a class in python to store information about a playing card and then how to create an instance of this class to store the information about a particular card from the deck. Class's are incredibly useful for when your object has multiple pieces of information about it.
I hope you enjoyed or found it useful.
Code uploaded to PasteBin:
https://pastebin.com/7Knf8Dfe
Python Classes Documentation:
https://docs.python.org/3/tutorial/cl...
Python 3.7.0 was used to make this tutorial.
Twitter: @TutorialSpotUK
Смотрите видео Python Programming - Class (Playing Cards) онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Tutorial Spot 29 Октябрь 2018. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 5,321 раз и оно понравилось 41 посетителям.