# Creating a Pandas dataframe using list of tuples in Python # import pandas to use pandas DataFrameimport pandas as pd  # data in the form of list of tuplesdata = [('Peter', 18, 7),        ('Riff', 15, 6),        ('John', 17, 8),        ('Michel', 18, 7),        ('Sheli', 17, 5) ]    # create DataFrame using datadf = pd.DataFrame(data, columns =['Name', 'Age', 'Score'])  print(df) 