pip install emoji
Defaulting to user installation because normal site-packages is not writeable
Collecting emoji
  Downloading emoji-2.8.0-py2.py3-none-any.whl (358 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 358.9/358.9 KB 6.7 MB/s eta 0:00:0000:0100:01
[?25hInstalling collected packages: emoji
Successfully installed emoji-2.8.0
Note: you may need to restart the kernel to use updated packages.
import wikipedia
from IPython.display import display, Markdown

print('Enter Search: ')
search = input()
result = wikipedia.search(search)
print(result)
print('Which result do you want? Enter 1 for the first result, and 2 for the second: ')
request = int(input()) - 1
print('Here is a summary of the requested article: ')
display(Markdown(wikipedia.summary(result[request])))
Enter Search: 
['San Diego', 'San Diego County, California', 'San Diego International Airport', 'University of California, San Diego', 'San Diego Comic-Con', 'San Diego Padres', 'San Diego–Tijuana', 'The San Diego Union-Tribune', 'San Diego Stadium', 'San Diego State University']
Which result do you want? Enter 1 for the first result, and 2 for the second: 
Here is a summary of the requested article: 

San Diego County ( ()), officially the County of San Diego (Spanish: Condado de San Diego), is a county in the southwestern corner of the U.S. state of California. As of the 2020 census, the population was 3,298,634, making it California’s second-most populous county and the fifth-most populous in the United States. Its county seat is San Diego, the second-most populous city in California and the eighth-most populous city in the United States. It is the southwesternmost county in the 48 contiguous United States, and is a border county. It is also home to 18 Native American tribal reservations, the most of any county in the United States. San Diego County comprises the San Diego-Chula Vista-Carlsbad, CA Metropolitan Statistical Area, which is the 17th most populous metropolitan statistical area and the 18th most populous primary statistical area of the United States as of July 1, 2012. San Diego County is also part of the San Diego–Tijuana transborder metropolitan area, the largest metropolitan area shared between the United States and Mexico. San Diego County has more than 70 miles (113 km) of coastline. This forms the most densely populated region of the county, which has a mild Mediterranean to semiarid climate and extensive chaparral vegetation, similar to the rest of the western portion of Southern California. Precipitation and temperature extremes increase to the east, with mountains that receive frost and snow in the winter. These lushly forested mountains receive more rainfall than the average in Southern California, while the desert region of the county lies in a rain shadow to the east, which extends into the Desert Southwest region of North America. There are 16 military installations, of the U.S. Navy, U.S. Marine Corps, and U.S. Coast Guard in San Diego County. These include Naval Base San Diego, Marine Corps Base Camp Pendleton, Naval Air Station North Island, Marine Corps Air Station Miramar, and Coast Guard Air Station San Diego. From north to south, San Diego County extends from the southern borders of Orange and Riverside Counties to the Mexico-U.S. border and the Baja California municipalities of Tijuana and Tecate. From west to east, San Diego County stretches from the Pacific Ocean to its boundary with Imperial County, which separated from it in 1907. Since 2010, statewide droughts in California have further strained San Diego County’s water security.

import emoji
print(emoji.emojize("Python emojis are cool :thumbs_up:"))
Python emojis are cool 👍