17 lines
521 B
Plaintext
17 lines
521 B
Plaintext
x = "Hello" # x is a string
|
|
see x + nl
|
|
x = 5 # x is a number (int)
|
|
see x + nl
|
|
x = 1.2 # x is a number (double)
|
|
see x + nl
|
|
x = [1,2,3,4] # x is a list
|
|
see x # print list items
|
|
x = date() # x is a string contains date
|
|
see x + nl
|
|
x = time() # x is a string contains time
|
|
see x + nl
|
|
x = true # x is a number (logical value = 1)
|
|
see x + nl
|
|
x = false # x is a number (logical value = 0)
|
|
see x + nl
|