πŸ’» Coding Mission

Your First Neuron Function

+25 XP
Click Run to start Python
Write a Python function that computes whether a neuron fires, given an input current.

A neuron fires when its membrane voltage exceeds -55 mV.

The voltage is: V = V_rest + I Γ— R
β€’ V_rest = -70 mV (resting potential)
β€’ R = 10 MΞ© (membrane resistance)
β€’ I = input current (in nA)

Return True if the neuron fires, False if it doesn't.

Hints (only if you're stuck!)

solution.py
● Loading...