Draw This - beginner
Draw a flowchart to decide whether to take an umbrella when leaving the house. Use the question: "Is it raining or is rain forecasted today?" If yes, take the umbrella; if no, do not take it.
Draw a flowchart to decide whether to take an umbrella when leaving the house. Use the question: "Is it raining or is rain forecasted today?" If yes, take the umbrella; if no, do not take it.
_______
/ \
| Start |
\_______/
|
v
________________
| Is it raining or |
| rain forecasted?|
| (Yes/No) |
----------------
/ \
/Yes \No
v v
_______ ___________
| Take | | Do not |
|umbrella| | take |
|_______| |umbrella |
| |
v v
_______ _______
/ \ / \
| End | | End |
\_______/ \_______/This flowchart starts with the Start symbol.
It asks the question: Is it raining or rain forecasted? inside a decision diamond.
If the answer is Yes, the flow goes to the action Take umbrella.
If the answer is No, the flow goes to the action Do not take umbrella.
Both actions lead to the End symbol, showing the decision process is complete.
if hungry:
eat()
else:
wait()if temperature < 10:
wear('coat')
elif temperature < 20:
wear('jacket')
else:
wear('t-shirt')Pass the test and this pattern moves unknown