Revision 3adf16af-89f7-4cad-8d70-d39aa6a77e77 - Code Golf Stack Exchange

[Snap](http://snap.berkeley.edu)*!*
=
Snap! is a language based off of [Scratch](http://scratch.mit.edu). 
Scratch answer: [here](https://codegolf.stackexchange.com/a/53206/41061)
<br>Note: These are things specific to Snap.


### Factoid

Snap!'s old name was BYOB, for Build Your Own Blocks. The creators were forced to change it because some teachers at Berkeley, where it was based, had no sense of humor.

### Length 1 Snippet

![unicode65asletter][1]

Unicode support is available!

### Length 2 Snippet

This one only works if you load the toolblocks (the smaller button on the page). IMO, you should always load the toolblocks.

![b2r][2]

You can convert blocks to reporters (things that contain numbers). This way, whenever a reporter would be needed, you can use a block!

### Length 3 Snippet

![](https://i.cubeupload.com/F92eSq.jpg)

Ternary operators and writing to the screen! This will print hi because an empty boolean slot is FALSE.

 [1]: https://i.sstatic.net/JhkGM.png
 [2]: https://i.sstatic.net/Pfu2S.png

AltStyle によって変換されたページ (->オリジナル) /