Conditional Statements
Here we learned about we learned about conditional statements. So, like with everything in computers its almost exactly what it sounds like. If this is true, then return this and if this or this is true then return that. the important ones are just what I said;
if"" return ""
elif (which stands for else if) return
Important to remember indentation here
Also, on this one I showed what was printed with the final script so we can see how the output of each statement correlates
Comments
Post a Comment