Skip to content

Julia snippets use @printf which is GONE from Julia #21

@williamstein

Description

@williamstein

I tried inserting a snippet in a julia notebook (julia 1.4). The very first one I tried was:

s = 0
for i = [1 2 5 100 -1 5]
    s = s + i
    @printf("i = %4d  →  s = %4d\n", i, s)
end

and it didn't work due to @printf being deprecated and removed from the language.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions