Skip to content

Commit

Permalink
Update docs/src/tutorials/beginner_tutorial.md
Browse files Browse the repository at this point in the history
Co-authored-by: Mason Protter <mason.protter@icloud.com>
  • Loading branch information
harisorgn and MasonProtter authored Aug 30, 2024
1 parent 8d9eef6 commit 9f582f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/tutorials/beginner_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ modulus = 3 % 2
To define a function in Julia, we first write `function` followed by the function's name, its arguments, the commands and `end`:

```@example beginner_tutorial
function tutorial(parameter)
function tutorial(argument)
# Your code goes here
println("The input was $parameter.")
println("The input was ", argument, ".")
end
```

Expand Down

0 comments on commit 9f582f6

Please sign in to comment.