Last active
April 2, 2023 10:10
-
-
Save dacr/80159e26bf38082bd3da4ccb65b7accd to your computer and use it in GitHub Desktop.
hello world julia script / published by https://github.com/dacr/code-examples-manager #446b83f6-4f90-4150-9dc1-e4b40bdda3db/93b8bb590de78983f9882f11def253dc057334df
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
#!/usr/bin/env julia | |
## summary : hello world julia script | |
## keywords : helloworld, julia, script | |
## publish : gist | |
## authors : David Crosson | |
## license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2) | |
## id : 446b83f6-4f90-4150-9dc1-e4b40bdda3db | |
## created-on : 2020-10-17T19:03:34Z | |
## managed-by : https://github.com/dacr/code-examples-manager | |
## execution : julia script (https://julialang.org/) - run as follow 'julia scriptname.jl' or directly thanks to the shebang | |
f(x,y) = 2x+y | |
answer = f(20,2) | |
println("hello world, the answer is $answer") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment