"If the division does not go evenly, there may be fewer students in one group, but all others must have the desired number."
x = float(input("How many students"))
y = float(input("What is the group size?"))
division = (x / y)
remainder = (x % y)
print(f"Group size: ")
>Solution :
You can do it like this:-
import math
x = float(input("How many students"))
y = float(input("What is the group size?"))
division = (x / y)
remainder = (x % y)
if remainder == 0:
print(f" No of Groups: {division}")
else:
print("No of Groups:", math.ceil(division))