Discuss Scratch

Goldking9
Scratcher
77 posts

Scratch blocks to Python.

set [a v] to 4
set [b v] to 3
set [c v] to <(a) + (b)>

Is equal to

 (a) = 4
(b) = 3
(c) = (a) + (b)
Goldking9
Scratcher
77 posts

Scratch blocks to Python.

Can you translate this?
when this sprite clicked
ask [Username?]
set [Email v] to [answer]
forever
say [<join (Email) = ([Email v])>]
end
ask [What would you want to send?]
set [Emailanswer v] to [(answer)]

Last edited by Goldking9 (Oct. 13, 2025 15:21:01)

MI5TER2000
Scratcher
22 posts

Scratch blocks to Python.

Goldking9 wrote:

Can you translate this?
when this sprite clicked
ask [Username?]
set [Email v] to [answer]
forever
say [<join (Email) = ([Email v])>]
end
ask [What would you want to send?]
set [Emailanswer v] to [(answer)]

I don't know how to do when this sprite clicked but I can do the rest:
Email = input("What is your username")
I cant properly see the next bit because of a forums error so I'll skip that

Emailanswer = input("What would you want to send?")
[\code]

Powered by DjangoBB