Skip to content

CompTIA PenTest+ PT0-002

  • CompTIA PenTest+ PT0-002

Tag: Question 093

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

Tagged CompTIA PenTest+ PT0-002, Question 093
Exam Practice Tests

Please disable your adblocker or whitelist this site!