i want to create a list of random integers
I want the value of num to be a random integer The following line of code gives me a syntax error invalid syntax
i just want to know that is there any way to do this using list comprehension
numbers = [num for num in range(1,6) num = random.randint(1,10)]