Title Construct a program with multiple if-elif statements
Catalog Type SLCItem
Persistent ID https://acos.cs.vt.edu/html/jsparsons/jsparsons-python/ps_python_divisible_by3
Platform Name jsParsons
Features
Description Construct a program which checks which of the integers in interval from 1 to 50 is divisible by only 2, only 5, or both. The program should store each group in its own list and finally print the lists in this order.
Keywords
Author Kamil Akhuseyinoglu
Institution University of Pittsburgh
Iframe URL https://acos.cs.vt.edu/html/jsparsons/jsparsons-python/ps_python_divisible_by3
Protocol SPLICE
Protocol URL
License MIT
Programming Language Python
Natural Language en

Preview

SPLICE Output