You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What do the values 0 and 3 do? Try changing those numbers and rerun the program.
Try typing the same lines above, directly into the Python console, hitting Enter after each line. Is anything different about executing code in interactive mode?
What happens if you leave out the print() command, and instead just type random.randint(0, 3) into the console?
What happens differently if you remove print() from one or more lines in the original program above, and re-run that? Why does that happen?