Skip to content
Snippets Groups Projects
Commit a3910246 authored by Robert Lanzafame's avatar Robert Lanzafame
Browse files

Merge branch 'D.J.vanderHoorn-main-patch-37551' into 'main'

A work in progress file assembling some small bugs

See merge request !13
parents 488db856 10982fcf
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