Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.
Write ask_addition():
import random at the top of your file).What is a + b? (show the actual numbers) and read an integer.True if their answer is correct, otherwise False.Write main() that:
ask_addition three times).Score: 2 / 3At the very end of the file, call main().
Skills: multiple functions, return and random, a small driver program.