Start Off with Julia | Julia Bits | Kovolf
Автор: kovolff
Загружено: 2020-12-08
Просмотров: 123
Julia is a relatively new programming language. In some aspects Julia is very similar to Python and is designed for scientific / data science computing. Julia claims to be extremely fast, not far off compiled languages.
To get the Julia interpreter go to:
https://julialang.org/
There you can download and install the current interpreter. Then find yourself a text editor or IDE you’re comfortable with. Visual Studio Code, with the Julia extension installed and enabled, is used in this video.
To output to the screen:
print(“hi guys”)
or
println(“hi guys”)
Println creates a new line after outputting, whereas print does not.
Strings are inserted within double quotes in Julia.
Single line comments in Julia are done by preceding the comment with #
Multi-line comments are done by enclosing the comment with #= and =#
To get data from the user, use readline()
i.e. user_name = readline()
readline() returns the user input as a string
Print strings and variables as one output is done with commas,
i.e. println(“your name is “, user_name, “ and you’re “, user_age, “ years old”)
#julia #julialang #programming
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: