about | help | code help+videos | done | prefs |
Given an integer as input, name the set or sets to which it belongs: natural, whole, or integer. For example, 3 would be a member of the natural, whole, and integer sets; whereas -3 would be a member of the integer set, only. Return one of the following three options as your result: ["natural", "whole", "integer"], ["whole", "integer"], or ["integer"]. whatTypeLists(77) → ['natural', 'whole', 'integer'] whatTypeLists(0) → ['whole', 'integer'] whatTypeLists(-16) → ['integer'] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 125 Post-solution available
Copyright Nick Parlante 2017 - privacy