Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Empty-string/Julia/empty-string.julia
Normal file
11
Task/Empty-string/Julia/empty-string.julia
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
blank = ""
|
||||
nonblank = "!"
|
||||
|
||||
println("The length of blank is ", length(blank))
|
||||
println("That blank is empty is ", isempty(blank))
|
||||
println("That blank is not empty is ", !isempty(blank))
|
||||
|
||||
println()
|
||||
println("The length of nonblank is ", length(nonblank))
|
||||
println("That nonblank is empty is ", isempty(nonblank))
|
||||
println("That nonblank is not empty is ", !isempty(nonblank))
|
||||
Loading…
Add table
Add a link
Reference in a new issue