Test Javascript + dokuwiki + DataCamp-light
<PRELOAD> https://cdn.datacamp.com/datacamp-light-latest.min.js </PRELOAD>
This is a python exercise !!
import numpy as np
x = np.arange(0, 5, 0.1);
y = np.sin(x)
print(x)
print(y)
Just press 'Run'.
2nd Test
# This will get executed each time the exercise gets initialized
b = 6
# Create a variable a, equal to 5
# Print out a
# Create a variable a, equal to 5
a <- 5
# Print out a
print(a)
test_object("a")
test_function("print")
success_msg("Great job!")
Use the assignment operator (
<-
) to create the variable a
.