name = input("Type your name then press enter:")
print(f"Nice to meet you {name}. Are you ready to get started?")
while True:
number = input("Type a number then press enter:")
if not number.isdigit():
print("Please enter a number")
continue
number = int(number)
break
print(f"I enjoy {number} as well.")
import pandas as pd
import random
import datetime
random_number = random.randint(0, number)
random_data = [{"number": x * random_number, "time": datetime.datetime.now(), "added_by": name} for x in range(0, number)]
df = pd.DataFrame(random_data)
df.head(n=10)