Question: Write a function mult5() that takes as input a list of integers lst and a single integer n and prints only the multiples of n
Write a function mult5() that takes as input a list of integers lst and a single integer n and prints only the multiples of n
.
Python 3.7.0 Shell File Edit Shell Debug Options Window Help Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD6 4)] on win32 Type "copyright", "credits" or "license )" for more information RESTART: C:/Users/eve/AppData/Local/Programs/Python/Python37/answers assignment 5.py >>>multN ([1,2,3,4,5,6,7,8,9,101, 2) 2 6 10 >multN ([1,2,3,4,5,6,7,8,9,101, 3) 3 6 >>multN ([1,2,3,4,5,6,7,8,9,10], 5) 10 Ln: 18 Col: 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
