Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Boolean-values/MiniScript/boolean-values.mini
Normal file
11
Task/Boolean-values/MiniScript/boolean-values.mini
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
boolTrue = true
|
||||
boolFalse = false
|
||||
|
||||
if boolTrue then print "boolTrue is true, and its value is: " + boolTrue
|
||||
|
||||
if not boolFalse then print "boolFalse is not true, and its value is: " + boolFalse
|
||||
|
||||
mostlyTrue = 0.8
|
||||
kindaTrue = 0.4
|
||||
print "mostlyTrue AND kindaTrue: " + (mostlyTrue and kindaTrue)
|
||||
print "mostlyTrue OR kindaTrue: " + (mostlyTrue or kindaTrue)
|
||||
Loading…
Add table
Add a link
Reference in a new issue