create a sequence of numbers in python
list(range(11, 17))
#Creates the following list
[11, 12, 13, 14, 15, 16]
create a sequence of numbers in python
list(range(11, 17))
#Creates the following list
[11, 12, 13, 14, 15, 16]
sequence with numbers in python
step = 2
vec = [1,2,3,4,5]
vec2 = [i/step for i in range(len(vec))]
# vec2 = [0.5, 1, 1.5, 2, 2.5]
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us