Hi I need this assignment in 5 hours. Its 5 programming question and it does not need a whole program. as long as it has functionality. I need 5 separate .py files with names Q1, Q2, Q3, Q4, and Q5. I will attach the necessary files.
the instructions:
Use this website as an input file for the questions:
https://www.thoughtco.com/presidents-and-vice-presidents-chart-4051729(Links to an external site.)
There is a local copy in the Test Module:Presidents.html
Download Presidents.html
Explicitly answer each question with the required features and functionality. It is not necessary to include non-related code to the answer, as this makes the test harder to grade. It is NOT required to write a complete program to answer the question.
If you do decide to include non-related code in your answer, please mark clearly where the explicit code is located so it can be easily graded. Otherwise, I may not find the code to be graded.
Chart of the U.S. Presidents and Vice Presidents Menu Home Science, Tech, Math Science Math Social Sciences Computer Science Animals & Nature Humanities History & Culture Visual Arts Literature English Geography Philosophy Issues Languages English as a Second Language Spanish French German Italian Japanese Mandarin Russian Resources For Students & Parents For Educators For Adult Learners About Us Search Close Search the site GO Science, Tech, Math Science Math Social Sciences Computer Science Animals & Nature Humanities History & Culture Visual Arts Literature English Geography Philosophy Issues Languages English as a Second Language Spanish French German Italian Japanese Mandarin Russian Resources For Students & Parents For Educators For Adult Learners About Us Contact Us Editorial Guidelines Privacy Policy Humanities › History & Culture Chart of the Presidents and Vice Presidents United States Presidents and Vice Presidents Share Flipboard Email Print Dave and Les Jacobs / Getty Images History & Culture American History U.S. Presidents Basics Important Historical Figures Key Events Native American History American Revolution America Moves Westward The Gilded Age Crimes & Disasters The Most Important Inventions of the Industrial Revolution African American History African History Ancient History and Culture Asian History European History Genealogy Inventions Latin American History Medieval & Renaissance History Military History The 20th Century Women's History View More By Martin Kelly History Expert M.A., History, University of Florida B.A., History, University of Florida Martin Kelly, M.A., is a history teacher and curriculum developer. He is the author of "The Everything American Presidents Book" and "Colonial Life: Government." our editorial process Martin Kelly Updated May 22, 2021 The first line of Article II Section 1 of the US Constitution states, "The executive power shall be vested in a President of the United States of America." With these words, the office of the president was established. Since 1789 and the election of George Washington, America's first president, 44 individuals have served as the chief executive of the United States (Grover Cleveland was elected for two nonconsecutive terms, so he served as the 22nd and 24th president). The unamended Constitution mandated that a president would serve for four years. Originally, it did not state if there was to be a limit on the number of terms to which they could be elected. However, President Washington set a precedent of only serving two terms which was followed until November 5, 1940, when Franklin Roosevelt was elected for a third term. He would go on to win a fourth before dying in office. The 22nd Amendment was passed soon afterward that would limit presidents to only serving two terms or 10 years. This chart includes the names of all presidents of the United States, as well as links to their biographies. Also included are the names of their vice presidents, their political party, and terms in office. You might also be interested in reading about what presidents are on the bills of U.S. currency. Chart of the Presidents and Vice-Presidents PRESIDENT VICE-PRESIDENTPOLITICAL PARTYTERM George WashingtonJohn AdamsNo Party Designation1789-1797 John AdamsThomas JeffersonFederalist1797-1801 Thomas JeffersonAaron Burr, George ClintonDemocratic-Republican1801-1809 James MadisonGeorge Clinton, Elbridge GerryDemocratic-Republican1809-1817 James MonroeDaniel D. TompkinsDemocratic-Republican1817-1825 John Quincy AdamsJohn C. CalhounDemocratic-Republican1825-1829 Andrew JacksonJohn C. Calhoun, Martin Van BurenDemocratic1829-1837 Martin Van BurenRichard M. JohnsonDemocratic1837-1841 William Henry HarrisonJohn TylerWhig1841 John TylerNoneWhig1841-1845 James Knox PolkGeorge M. DallasDemocratic1845-1849 Zachary TaylorMillard FillmoreWhig1849-1850 Millard FillmoreNoneWhig1850-1853 Franklin PierceWilliam R. KingDemocratic1853-1857 James BuchananJohn C. BreckinridgeDemocratic1857-1861 Abraham LincolnHannibal Hamlin, Andrew JohnsonUnion1861-1865 Andrew JohnsonNoneUnion1865-1869 Ulysses Simpson GrantSchuyler Colfax, Henry WilsonRepublican1869-1877 Rutherford Birchard HayesWilliam A. WheelerRepublican1877-1881 James Abram GarfieldChester Alan ArthurRepublican1881 Chester Alan ArthurNoneRepublican1881-1885 Stephen Grover ClevelandThomas HendricksDemocratic1885-1889 Benjamin HarrisonLevi P. MortonRepublican1889-1893 Stephen Grover ClevelandAdlai E. StevensonDemocratic1893-1897 William McKinleyGarret A. Hobart, Theodore RooseveltRepublican1897-1901 Theodore RooseveltCharles W. FairbanksRepublican1901-1909 William Howard TaftJames S. ShermanRepublican1909-1913 Woodrow WilsonThomas R. MarshallDemocratic1913-1921 Warren Gamaliel HardingCalvin CoolidgeRepublican1921-1923 Calvin CoolidgeCharles G. DawesRepublican1923-1929 Herbert Clark HooverCharles CurtisRepublican1929-1933 Franklin Delano RooseveltJohn Nance Garner, Henry A. Wallace, Harry S. TrumanDemocratic1933-1945 Harry S. TrumanAlben W. BarkleyDemocratic1945-1953 Dwight David EisenhowerRichard Milhous NixonRepublican1953-1961 John Fitzgerald KennedyLyndon Baines JohnsonDemocratic1961-1963 Lyndon Baines JohnsonHubert Horatio HumphreyDemocratic1963-1969 Richard Milhous NixonSpiro T. Agnew, Gerald Rudolph FordRepublican1969-1974 Gerald Rudolph FordNelson RockefellerRepublican1974-1977 James Earl Carter, Jr.Walter MondaleDemocratic1977-1981 Ronald Wilson ReaganGeorge Herbert Walker BushRepublican1981-1989 George Herbert Walker BushJ. Danforth QuayleRepublican1989-1993 William Jefferson ClintonAlbert Gore, Jr.Democratic1993-2001 George Walker BushRichard CheneyRepublican2001-2009 Barack ObamaJoseph BidenDemocratic2009-2017 Donald TrumpMike PenceRepublican2017-2021 Joseph BidenKamala HarrisDemocratic2021- View Article Sources “Presidents.” The White House. The United States Government. “The 22nd Amendment of the U.S. Constitution.” National Constitution Center. Cite this Article Format mla apa chicago Your Citation Kelly, Martin. "Chart of the Presidents and Vice Presidents." ThoughtCo, Jul. 31, 2021, thoughtco.com/presidents-and-vice-presidents-chart-4051729. Kelly, Martin. (2021, July 31). Chart of the Presidents and Vice Presidents. Retrieved from https://www.thoughtco.com/presidents-and-vice-presidents-chart-4051729 Kelly, Martin. "Chart of the Presidents and Vice Presidents." ThoughtCo. https://www.thoughtco.com/presidents-and-vice-presidents-chart-4051729 (accessed October 18, 2021). copy citation Watch Now: A Brief History of Impeached Presidents Vice Presidents Who Ran for President and Lost Which Presidents Were Republican? The Three Branches of US Government The Powers of Congress Duties of the Chief Justice of the United States One-Term US Presidents Who Were the Democratic Presidents of the United States? About the Speaker of the House of Representatives Annual Salaries of Top US Government Officials Major Parliamentary Governments and How They Work Vice President of the United States: Duties and Details How Presidents and Vice Presidents Are Elected Barack Obama's Two Terms as President The Oldest Presidents in U.S. History The 6 Living US Presidents Why It's Called the President's "Cabinet" Home Learn Something New Every Day Email Address Sign up There was an error. Please try again. You're in! Thanks for signing up. There was an error. Please try again. Thank you for signing up. Follow Us Facebook Facebook Flipboard Flipboard Science, Tech, Math Humanities Languages Resources About Us Advertise Privacy Policy Cookie Policy Careers Editorial Guidelines Contact Terms of Use California Privacy Notice ThoughtCo is part of the Dotdash publishing family. ThoughtCo uses cookies to provide you with a great user experience and for our business purposes. x Instructions: Use this website as a input file for the Questions: https://www.thoughtco.com/presidents-and-vice-presidents-chart-4051729 (Links to an external site.) There is a local copy in the Test Module: Presidents.html Explicitly answer each question with required features and functionality. It is not necessary to include non-related code to the answer, as this makes the test harder to grade. It is NOT required to write a complete program to answer the question. If you do decide to include non-related code to your answer, please mark clearly where the explicit code is located so it can be easily graded. Otherwise, I may not find the code to be graded. Question 1: Using Beautifulsoup, scrape the Presidents chart for President and Vice-President from the weblink and store the data in a DataFrame. If you prefer you can use Regular Expressions, instead of Beautifulsoup, to parse the local copy of the website: Presidents.html. https://www.thoughtco.com/presidents-and-vice-presidents-chart-4051729 Question 2: Put the DataFrame from Question (1) into a class and add support to the class for the following statements: pres = Presidents() #president contains dataframe for p in pres: print(p) https://www.thoughtco.com/presidents-and-vice-presidents-chart-4051729 https://www.thoughtco.com/presidents-and-vice-presidents-chart-4051729 https://deanza.instructure.com/courses/21409/files/6030222?wrap=1 https://www.thoughtco.com/presidents-and-vice-presidents-chart-4051729 Question 3: Using the DataFrame from Question 1, issue a SQLite query to format a data base table. Format a string to take an individual frame from the DataFrame container and produce a SQLite query to insert the frame into the SQLite database from Lab1. You can test your answer by using your SQLite class from Lab1 but submitting your SQLite code is not required. Question 4: Add support to the President class, defined in question 2, to support Sorting the presidents by name. It is NOT necessary to write the Sorting function. Question 5: Push all the vice-presidents names into a TKinter Listbox and write an event to capture the selected vice-president from the listbox.