about | help | code help+videos | done | prefs |
Define a function that when passed two integers, the first representing the total number of students in a class, and the second representing the size of groups required by the professor for a group assignment. Return true if the class can be split in the given group size without any student(s) left without a group, false otherwise. all_have_a_group(1000, 50) → True all_have_a_group(80, 20) → True all_have_a_group(80, 30) → False ...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: 1 Post-solution available
Copyright Nick Parlante 2017 - privacy