(True/False) The following statement subtracts 1 from x: x = x - 1
TRUE.
Explanation:
x = x - 1
subtracts 1 from the value of x
in Python.x
.Sample Example Code:
#Initialized the variable name, x
x = 50
#Subtracts 1 from the value of x
x = x - 1 #x=50-1=49
print(x) # Output: 49
Executed Output:
49