+ 1

Here I m finding problem in useing 1 after for.

import random for 1 in range(5): value = random.randint(1,6) print(value)

11th Jun 2019, 4:59 PM
Akil đŸ‡§đŸ‡©
Akil đŸ‡§đŸ‡© - avatar
2 Answers
0
1 is not a valid variable name. You probably meant to put an 'i' in place of 1.
11th Jun 2019, 5:22 PM
Cluck'n'Coder
Cluck'n'Coder - avatar
0
Oh,tnx
11th Jun 2019, 5:33 PM
Akil đŸ‡§đŸ‡©
Akil đŸ‡§đŸ‡© - avatar