Practice #4
Lesson 8 of 9 in Coddy's Python List Comprehension course.
Challenge
EasyGiven a list of numbers nums.
Create a list comprehension that takes in a list of integers, nums, and returns a new list named divisible containing only the integers that are divisible by the sum of their digits.
Try it yourself
nums = eval(input()) # Don't change this line