Skip to content
Snippets Groups Projects
Commit 10982fcf authored by Daniel Hoorn's avatar Daniel Hoorn
Browse files

A work in progress file assembling some small bugs

parent f0a9af05
No related branches found
No related tags found
1 merge request!13A work in progress file assembling some small bugs
## Some small bugs for you to find!
import numpy as np
import matplotlib.pylab as plt
import pandas as pd
a = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
b = np.linspace(0, 10, 11)
print(a.size())
for i in range(0, a.size):
a[i] = a[i] +a[i-1]
# Does this look like a sine wave?
plt.plot(a, np.sin(a), label='sin(a)')
c = a+b
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment