In [1]:
import pandas as pd
import numpy as np
df=pd.read_csv("excuse.csv")
import random
person = input('Enter your name: ')
location = input('Enter where you want to meet the Mayor: ')
n=range(0,len(df))
random=random.choice(n)
print("Sorry,",person,"I was late to",location,"to meet you,",df['excuse'].iloc[random],".")
print("")
print("This actually happened:",df['hyperlink'].iloc[random])
In [ ]: