"""
basic operations
"""

import numpy as np

a = np.array([1, 2, 5, 3])

# add 1 to every element
a = None
print("Adding 1 to every element:", a)

# subtract 3 from each element
b = None
print("Subtracting 3 from each element:", b)

# multiply each element by 10
c = None
print("Multiplying each element by 10:", c)

# square each element
d = None
print("Squaring each element:", d)

# Doubled each element of original array
print("Doubled each element of original array:", arr)

3d4021b63a64fc061e77473f01896393e35f4c81
<mask token>

<mask token>
print('Adding 1 to every element:', a)
<mask token>
print('Subtracting 3 from each element:', b)
<mask token>
print('Multiplying each element by 10:', c)
<mask token>
print('Squaring each element:', d)
print('Doubled each element of original array:', arr)

<mask token>
a = np.array([1, 2, 5, 3])
a = None
print('Adding 1 to every element:', a)
b = None
print('Subtracting 3 from each element:', b)
c = None
print('Multiplying each element by 10:', c)
d = None
print('Squaring each element:', d)
print('Doubled each element of original array:', arr)

<mask token>
import numpy as np
a = np.array([1, 2, 5, 3])
a = None
print('Adding 1 to every element:', a)
b = None
print('Subtracting 3 from each element:', b)
c = None
print('Multiplying each element by 10:', c)
d = None
print('Squaring each element:', d)
print('Doubled each element of original array:', arr)

"""
basic operations
"""

import numpy as np

a = np.array([1, 2, 5, 3])

# add 1 to every element
a = None
print("Adding 1 to every element:", a)

# subtract 3 from each element
b = None
print("Subtracting 3 from each element:", b)

# multiply each element by 10
c = None
print("Multiplying each element by 10:", c)

# square each element
d = None
print("Squaring each element:", d)

# Doubled each element of original array
print("Doubled each element of original array:", arr)
