Wir hatten gestern eine Schwierigkeit mit dem Computer.
Yesterday we had a difficulty with the computer.
Bei dieser Aufgabe werden Sie keine Schwierigkeit haben.
You will not have any difficulty with this task.
Note
The article is part of the word: die Schwierigkeit. That way you learn the gender with it.
Remember die Schwierigkeit for good. ripiti brings the word back just before you forget it, with these sentences. Free, no account needed, works offline.