Ask your own question, for FREE!
Computer Science 20 Online
Nightmoon:

What'd I need to do for these parts?

Nightmoon:

Mako178:

What language is this

Nightmoon:

@mako178 wrote:
What language is this
It's Coding - Python

Mako178:

It wants you to print to console right?

Nightmoon:

I need the color tuple and the printed typecast string.

Mako178:

what datatype is color

Nightmoon:

wdym?

Mako178:

It's just asking you to print a casted variable

Mako178:

So simply declare color and have it equal those values

Mako178:

color = 0 + "," + x/2 + "," + y/2

Nightmoon:

so the , has to be in " "?

Mako178:

yes because it should registered as a string value as well as the 0

Mako178:

it would be along the lines of color = "0" + "," + (x/2) + "," + (y/2)

Nightmoon:

Oh okay - tysm,

Mako178:

if it does not work let me know I can run the code myself

Nightmoon:

Alright

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!