Write An If Statement That Assigns 20 To The Variable Y, Write an

Write An If Statement That Assigns 20 To The Variable Y, Write an if statement that assigns 20 to the variable y, and assigns 40 to the variable z if the variable x is greater than 100. Preferable y should be initially assigned the value None before entering the if Here's the if statement: ``` if y == 20: x = 0 ``` This code checks if y is equal to 20 using the `==` operator. If this condition is true, you will assign the value 20 to a variable `y` and the value 40 to another variable `z`. If this is true, display "Invalid points. VIDEO ANSWER: Write an if statement that assigns 20 to the variable y and assigns 40 to the variable z if the variable x is greater than 100. Otherwise, it should assign 0 to the variable y. Write an if statement that Algorithm Workbench Write an if statement that assigns 20 to the variable y and assigns 40 to the variable z if the variable x is greater than 100. Write an if statement that assigns 20 to the variable y and assigns 40 to the variable z if the variable x is greater than 100 . Inside the if block, we assign the value 20 to the variable y using the statement y = 20, and we also assign the value 40 to the variable z using z = 40. . 2anf, fngj, 48o6, 30tms, fqxb, plpvr, cmbwne, 8nus, klct, fldeim,