468,113 Members | 2,151 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,113 developers. It's quick & easy.

Abstract data type project Python

Hi guys,
I currently have a project where i have to create an abstract data type in python. Otherwise known as a lIFO. I understand functions in python to append, pop data in and out of the stack. However, I need some guidance on declaring the top of the stack and declaring the size of the stack. A minimum of 100 single characters will need to be stored. In addition, it has been stated that this is an unfair stack and capital letters will move past every lowercase letter within the stack until it reaches another capital letter as they have a higher weight. I'm not to sure on how to create a function for that. Once the stack has been implemented, an SQL lite 3 database will be provided with film names from a specific year. Once the year is inputted, the films will be printed normally and then printed as if they were put into the unfair stack. Here is a full link to the brief. Any guidance will be really appreciated thankyou.
https://files.coventry.aula.education/2251931fc2e94b6f8fbdecfc6f69f804coursework.pdf
1 Week Ago #1
0 2857

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

24 posts views Thread by Batista, Facundo | last post: by
21 posts views Thread by Batista, Facundo | last post: by
1 post views Thread by Geoff Biggs | last post: by
9 posts views Thread by deanfamily11 | last post: by
3 posts views Thread by jacob navia | last post: by
3 posts views Thread by Stephan Diehl | last post: by
3 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.