Please write a program which asks for the number of students on a course and the desired group size. The program will then print out the number of groups formed from the students on the course. If the division is not even, one of the groups may have fewer members than specified.
This is a question of mooc 2026 program in the part where i am at **we have not done if/else conditional statements **which i know but dont want to use as question says
- "If you can't get your code working as expected, it is absolutely okay to move on and come back to this exercise later. The topic of the next section is conditional statements. This exercise can also be solved using a conditional construction."*
Anyways,
n2 = int(input("Desired group size? "))
grps = n1//n2+ n1%n2
print(f"Number of groups formed: {grps}")```
This is as far as i was able to think i also tried n1//n2+ n1%n2/n1%n2 but the problem here is it will be 0/0 error whenn modulo is zero and i am blank ahead