Answers for "python create list with rang"

0

python create list with rang

# Create a list in a range of 10-20 
mock = [*range(10, 21, 1)] 
print(mock)	#[10,11,12,13,14,15,16,17,18,19,20]
Posted by: Guest on March-03-2021

Code answers related to "python create list with rang"

Python Answers by Framework

Browse Popular Code Answers by Language