CompTIA PenTest+ PT0-002 – Question093

Which of the following expressions in Python increase a variable val by one? (Choose two.)

A.
val++
B. +val
C. val=(val+1)
D. ++val
E. val=val++
F. val+=1

Correct Answer: CF