Using the knowledge in computational language in python this code will be described for bank is a dictionary where the key is the username and the value is the user's account balance.
<h3>Writing code in python:</h3>
<em>def transfer (bank, log_in, userA, userB, amount):</em>
<em>if userA in bank and log_in[userA]:</em>
<em> if userB in log_in:</em>
<em> if amount <= bank [userA]: </em>
<em> bank [userA] -= amount</em>
<em> bank[userB] += amount </em>
<em> return true </em>
<em> return false </em>
<em> bank= {"Bradon": 115.5, "Patrick": 18.9, "Sarah": 827.43, "Jack": 45.0, "James": 128.87} </em>
<em> log_in= {"Bradon": False, "Jack": False, "James": False, "Sarah": False}</em>
<em> transfer(bank, log_in, "Bradon", "Jack", 100)</em>
See more about python at brainly.com/question/18502436
#SPJ1