Sobes.tech
Junior — Senior

Determining the result of assignment with logical operators or and and

livecode

Task condition

Specify what values the variable t will take after executing each of the lines of code below.

x = 'Some Value'
y = 24
z = 0

t = x or y
t = z or y
t = x and y
t = z and x