Understand the rule
Denn links a second main clause giving a reason; that clause keeps its normal subject–verb order: Ich warte, denn der Laden ist noch zu. Deshalb introduces a consequence. When deshalb is first, the finite verb follows it: Der Laden ist zu. Deshalb warte ich.
Denn does not send the verb to the end like weil. Deshalb does not keep a subject between itself and the finite verb when it starts the clause.
How to practise: read the examples once, cover the English meanings and try explaining the choice aloud. Next, complete all four questions before opening their answers.
Four German examples with English meanings
Notice the form that changes and the role it plays in each sentence.
Practice: fill in the gaps
Choose denn or deshalb using the logical relation and word order. Capitalise the word after a full stop. Try each question before opening the answer. Where another answer is possible, the explanation notes it. These are self-check exercises, not exam scoring.
Question 1. Ich trage einen Mantel, ___ es ist kalt.
Show answer and explanation for question 1
Answer: denn
Denn introduces the reason and preserves es ist.
Question 2. Es ist kalt. ___ trage ich einen Mantel.
Show answer and explanation for question 2
Answer: Deshalb
Deshalb starts the result clause, followed by trage ich.
Question 3. Wir bleiben drinnen, ___ draußen regnet es stark.
Show answer and explanation for question 3
Answer: denn
The second clause gives a reason and retains main-clause word order.
Question 4. Der Bus fällt aus. ___ laufen wir zur Schule.
Show answer and explanation for question 4
Answer: Deshalb
The cancelled bus causes the decision to walk.
Use it in your own sentence
Explain a delayed arrival using denn, then rewrite the reason with deshalb.
Try writing your answer before reading the model below. Other natural answers are possible.
One possible answer
Ich komme später, denn mein Bus fällt aus. Mein Bus fällt aus; deshalb komme ich später.
Check your wording: Denn joins main clauses; deshalb takes a clause position before komme.
What to practise next
Change the subject or noun in one model sentence. Check the verb form, case and word order before comparing it with the rule.
Try the gaps again on another day without reading the explanation first. If a choice is still unclear, use the linked grammar foundation before moving to another topic.