Created
February 2, 2016 21:21
-
-
Save ajm188/3868431ce52c6cf284a4 to your computer and use it in GitHub Desktop.
hello world in matlab and ruby (also incidentally prints 3)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = 3 % 1; def disp(text); puts text; end; puts 3 | |
disp('Hello World!'); |
Ooh I was about to comment on here explaining why the three had to be printed, but I realized a better way. Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use ; to suppress output!