Ask your own question, for FREE!
Computer Science 20 Online
OpenStudy (anonymous):

Trace this code: Remember that means to show RAM and output areas. b = 7 x = 5 y = x * 15 print(b, x, y) a = 3 * b + 9 x = y + 3 y = x print (b, x, a, y, end=" ") a = 5 * b print (a)

OpenStudy (anonymous):

what language is that :-D

OpenStudy (jagatuba):

Looks like pseudo code.

OpenStudy (anonymous):

looks like python judging from the end=" " argument. Don't know what you mean by RAM and output areas. You can start at the top and keep score of the variables by using #comments at the end of the line. A eventually returns 35

OpenStudy (anonymous):

http://ideone.com/x6aQo

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!