Below are two sets, one of all presidents of the United States and one of all veeps (vice presidents.) Using set logic, find the names of the vice presidents who went on to become presidents. presidents = {'George Washington', 'John Adams', 'Thomas Jefferson', 'James Madison', 'James Monroe', 'John Quincy Adams', 'Andrew Jackson', 'Martin Van Buren', 'William Henry Harrison', 'John Tyler', 'James K. Polk', 'Zachary Taylor', 'Millard Fillmore', 'Franklin Pierce', 'James Buchanan', 'Abraham Lincoln', 'Andrew Johnson', 'Ulysses S. Grant', 'Rutherford B. Hayes', 'James A. Garfield', 'Chester A. Arthur', 'Grover Cleveland', 'Benjamin Harrison', 'William McKinley', 'Theodore Roosevelt', 'William Howard Taft', 'Woodrow Wilson', 'Warren G. Harding', 'Calvin Coolidge', 'Herbert Hoover', 'Franklin D. Roosevelt', 'Harry S. Truman', 'Dwight D. Eisenhower', 'John F. Kennedy', 'Lyndon B. Johnson', 'Richard Nixon', 'Gerald Ford', 'Jimmy Carter', 'Ronald Reagan', 'George H. W. Bush', 'Bill Clinton', 'George W. Bush', 'Barack Obama', 'Donald Trump', 'Joe Biden'} veeps = {'John Adams', 'Thomas Jefferson', 'George Clinton', 'Aaron Burr', 'Elbridge Gerry', 'Daniel D. Tompkins', 'John C. Calhoun', 'Martin Van Buren', 'Richard Mentor Johnson', 'John Tyler', 'Vacant throughout presidency', 'George M. Dallas', 'Millard Fillmore', 'William R. King', 'John C. Breckinridge', 'Hannibal Hamlin', 'Andrew Johnson', 'Schuyler Colfax', 'Henry Wilson', 'William A. Wheeler', 'Chester A. Arthur', 'Thomas A. Hendricks', 'Levi P. Morton', 'Adlai Stevenson', 'Theodore Roosevelt', 'Garret Hobart', 'Charles W. Fairbanks', 'James S. Sherman', 'Thomas R. Marshall', 'Calvin Coolidge', 'Charles G. Dawes', 'Charles Curtis', 'John Nance Garner', 'Henry A. Wallace', 'Harry S. Truman', 'Alben W. Barkley', 'Richard Nixon', 'Lyndon B. Johnson', 'Hubert Humphrey', 'Spiro Agnew', 'Gerald Ford', 'Nelson Rockefeller', 'Walter Mondale', 'George H. W. Bush', 'Dan Quayle', 'Al Gore', 'Dick Cheney', 'Joe Biden', 'Mike Pence', 'Kamala Harris'}
Below are two sets, one of all presidents of the United States and one of all veeps (vice presidents.) Using set logic, find the names of the vice presidents who went on to become presidents.
presidents = {'George Washington', 'John Adams', 'Thomas Jefferson', 'James Madison', 'James Monroe', 'John Quincy Adams', 'Andrew Jackson', 'Martin Van Buren', 'William Henry Harrison', 'John Tyler', 'James K. Polk', 'Zachary Taylor', 'Millard Fillmore', 'Franklin Pierce', 'James Buchanan', 'Abraham Lincoln', 'Andrew Johnson', 'Ulysses S. Grant', 'Rutherford B. Hayes', 'James A. Garfield', 'Chester A. Arthur', 'Grover Cleveland', 'Benjamin Harrison', 'William McKinley', 'Theodore Roosevelt', 'William Howard Taft', 'Woodrow Wilson', 'Warren G. Harding', 'Calvin Coolidge', 'Herbert Hoover', 'Franklin D. Roosevelt', 'Harry S. Truman', 'Dwight D. Eisenhower', 'John F. Kennedy', 'Lyndon B. Johnson', 'Richard Nixon', 'Gerald Ford', 'Jimmy Carter', 'Ronald Reagan', 'George H. W. Bush', 'Bill Clinton', 'George W. Bush', 'Barack Obama', 'Donald Trump', 'Joe Biden'}
veeps = {'John Adams', 'Thomas Jefferson', 'George Clinton', 'Aaron Burr', 'Elbridge Gerry', 'Daniel D. Tompkins', 'John C. Calhoun', 'Martin Van Buren', 'Richard Mentor Johnson', 'John Tyler', 'Vacant throughout presidency', 'George M. Dallas', 'Millard Fillmore', 'William R. King', 'John C. Breckinridge', 'Hannibal Hamlin', 'Andrew Johnson', 'Schuyler Colfax', 'Henry Wilson', 'William A. Wheeler', 'Chester A. Arthur', 'Thomas A. Hendricks', 'Levi P. Morton', 'Adlai Stevenson', 'Theodore Roosevelt', 'Garret Hobart', 'Charles W. Fairbanks', 'James S. Sherman', 'Thomas R. Marshall', 'Calvin Coolidge', 'Charles G. Dawes', 'Charles Curtis', 'John Nance Garner', 'Henry A. Wallace', 'Harry S. Truman', 'Alben W. Barkley', 'Richard Nixon', 'Lyndon B. Johnson', 'Hubert Humphrey', 'Spiro Agnew', 'Gerald Ford', 'Nelson Rockefeller', 'Walter Mondale', 'George H. W. Bush', 'Dan Quayle', 'Al Gore', 'Dick Cheney', 'Joe Biden', 'Mike Pence', 'Kamala Harris'}
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images