Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 226 Bytes

File metadata and controls

17 lines (12 loc) · 226 Bytes

If True

Improve the following block of code:

y = 0
x = False

if x == True:
    y = y + 1
if x == False:
    y = y + 2

Solution

Click here to view the solution