Answer:
import turtle
my_turtle = turtle.Turtle()
my_turtle.speed(0)
my_turtle.pendown()
colours = ["yellow", "blue", "red", "orange", "cyan", "pink", "green", "brown"]
for sides in range(8):
my_turtle.pencolor(colours[sides])
my_turtle.forward(100)
my_turtle.left(45)
Explanation:
- The pencolor statement must be inserted before the forward() call otherwise you have no control over the color of the first line.
- You don't need the count variable, since the 'sides' variable is a perfect counter to index the colours array.
Sociological criticism focuses on the relationship between literature and society, the social function of literature
In theory, you can of course use any language you like, but there are a few commonly used ones.
From your list it would be c++ or c#, because if you actually have the interest long term then those will be the languages used by the various "big"/well known/used engines.
I would suggest c#, because it can be used with the Unity engine, which has an enormous community with help resources especially to start out and learn to program or game development.
On the other hand I would also suggest JavaScript. It isn't used for any of the big title development, but for all the *.io games like slither and so on. When looking at such games you will quickly notice that they are generally much simpler (for example 2D not 3D), because game engines are just simpler in JavaScript. While this is obviously limiting it might help to get something simple actually working, instead of getting stuck in extra complexities and additional features until you lose your motivation.
The basic programming you learn is still the same, so after you have learned a language you can quickly pick up most others.
<span />
Answer:
there are 256 bits. there 256 values u can store in a byte