Anyone can help me to solve this error?

julia> import Printf

julia> @printf(“%3.2f”, 3.1416)

ERROR: LoadError: UndefVarError: @printf not defined

in expression starting at REPL[12]:1

import brings the module into scope, but not its exported names:

julia> import Printf

julia> Printf.@printf("%3.2f", 3.1416)
3.14

You can bring @printf into scope, with using instead of import:

julia> using Printf

julia> @printf("%3.2f", 3.1416)
3.14

wow! problem solved!
many thanks!