23 Jan Aurora Monday 18:30 Python Homework 22.01.17.
Posted at 02:58h in Aurora Monday 18:30 Homework 0 Comments
Create Card class so it can complete the following tasks:
- You can initial the card with value.
- you can compare two card object like c1>c2.
- you can use print(c1) shows the card value
(Assume the smallest card value is 2, then followed by 3,4,5,6,7,8,9,10,J,Q,K,A)
Continue modify the fraction class we made in the class, so you can compare two fraction objects.
Sorry, the comment form is closed at this time.