You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The diagram shown under conditional syntax does not look like Python
no : after the expression
end keyword denoting the end of a block
A diagram reflecting Python syntax should be used. If it is difficult to show where a block ends, consider following the conditional block with a simple print, such as
if1<2:
print("inside the block")
print("outside the block")
The various parts of the conditional and block could then be labelled easily per the current diagram.
Alternatively, consider removing the diagram entirely, as there are many other examples in the lesson as it is.
The text was updated successfully, but these errors were encountered:
The diagram shown under conditional syntax does not look like Python
:
after the expressionend
keyword denoting the end of a blockA diagram reflecting Python syntax should be used. If it is difficult to show where a block ends, consider following the conditional block with a simple print, such as
The various parts of the conditional and block could then be labelled easily per the current diagram.
Alternatively, consider removing the diagram entirely, as there are many other examples in the lesson as it is.
The text was updated successfully, but these errors were encountered: