{"id":140,"date":"2021-09-15T12:19:19","date_gmt":"2021-09-15T12:19:19","guid":{"rendered":"https:\/\/fmx298.santiago.bz\/cannatelli\/?page_id=140"},"modified":"2021-11-30T02:35:12","modified_gmt":"2021-11-30T02:35:12","slug":"python","status":"publish","type":"page","link":"https:\/\/fmx298.santiago.bz\/cannatelli\/python\/","title":{"rendered":"PYTHON"},"content":{"rendered":"\n<figure class=\"wp-block-video\"><video height=\"724\" style=\"aspect-ratio: 2696 \/ 724;\" width=\"2696\" controls src=\"https:\/\/fmx298.santiago.bz\/cannatelli\/wp-content\/uploads\/sites\/102\/2021\/11\/pyhtonpokedex.mp4\"><\/video><figcaption><strong>TITLE:<\/strong>\u00a0Python Program 8 &#8211; Pokedex<br><strong>YOUR ROLE:<\/strong>\u00a0Software Engineer<br><strong>DISCIPLINE:<\/strong>\u00a0Python Code<br><strong>SOFTWARE:<\/strong>\u00a0Thonny<br><strong>COURSE:\u00a0<\/strong>CSC 101<br><strong>TERM:\u00a0<\/strong>Fall 2021<br><strong>INSTITUTION:<\/strong>\u00a0University of Tampa<br><strong>PROFESSOR:<\/strong>\u00a0Dr. Lori Jacques<br><br><strong>DESCRIPTION:<\/strong>\u00a0The Python Pokedex was by far one of the most satisfying projects I got to program throughout CSC 101. The program reads a CSV file line-by-line which contains information for all Pokemon up to Generation 7. This information is then stored in a Pokemon class which contains Name, Ability, and Classification, and appended to a list which contains each of these objects (one object per Pokemon). Since this program is using object oriented programming, the program can interact with the information in a variety of ways. In this instance, the array of objects is sorted via insertion sort by the name within each object. The program then asks users to type in what Pokemon they would like to search and will conduct a binary search throughout all of the objects. Once found, the program displays the name, classification, and abilities of that Pokemon. Sample output is shown above.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":101,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-140","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/fmx298.santiago.bz\/cannatelli\/wp-json\/wp\/v2\/pages\/140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fmx298.santiago.bz\/cannatelli\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fmx298.santiago.bz\/cannatelli\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fmx298.santiago.bz\/cannatelli\/wp-json\/wp\/v2\/users\/101"}],"replies":[{"embeddable":true,"href":"https:\/\/fmx298.santiago.bz\/cannatelli\/wp-json\/wp\/v2\/comments?post=140"}],"version-history":[{"count":5,"href":"https:\/\/fmx298.santiago.bz\/cannatelli\/wp-json\/wp\/v2\/pages\/140\/revisions"}],"predecessor-version":[{"id":418,"href":"https:\/\/fmx298.santiago.bz\/cannatelli\/wp-json\/wp\/v2\/pages\/140\/revisions\/418"}],"wp:attachment":[{"href":"https:\/\/fmx298.santiago.bz\/cannatelli\/wp-json\/wp\/v2\/media?parent=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}