commit 762ff91472a3f35f7b4c152c2a4bdedf6d87af86 Author: cheezedoodle2 Date: Wed Mar 29 18:27:33 2023 -0700 Initial commit. diff --git a/test1.py b/test1.py new file mode 100644 index 0000000..577761a --- /dev/null +++ b/test1.py @@ -0,0 +1,16 @@ +class Test: + hotdogs = 0 + def __init__(self): + self.hotdogs = 1 + def more(self): + self.hotdogs += 1 + def __str__(self): + return "🌭" * self.hotdogs + + +test1 = Test() +test2 = Test() +print(f"test1: {test1}") +test1.more() +print(f"test1: {test1}") +print(f"test2: {test2}") diff --git a/test2.py b/test2.py new file mode 100644 index 0000000..0932394 --- /dev/null +++ b/test2.py @@ -0,0 +1,17 @@ +import pandas as pd +import numpy as np + +# Generate two random 64-bit integers +num1 = np.random.randint(0, 2**63 - 1) +num2 = np.random.randint(0, 2**63 - 1) + +print(f"num1 * num2 = {num1 * num2}") + +# Create a Pandas DataFrame with the generated numbers +data = {'Number1': [num1], 'Number2': [num2]} +df = pd.DataFrame(data) + +# Multiply the numbers together +df['Product'] = df['Number1'] * df['Number2'] + +print(df) \ No newline at end of file