At first, what you are looking for is the modulo operator and the function math.floor()

# Modulo

from wikipedia:

In computing, the modulo operation finds the remainder after division of one number by another (sometimes called modulus).

for example:

```
12%12=0
24%12=0
25%12=1
```

this does fit your needs for the eggs that are leftover.

# Math.floor()

returns the largest following integer.

eg.:

```
Math.floor(13/2)
```

would be the same as

```
Math.floor(6.5)
```

and result in 6.

This function should solve your problem with the fully filled egg cartons.

## Hint

remember to import floor() properly.

```
from math import floor
```

## First, try to figure the rest out on your own.

You shouldn’t look at this until your code is done.

Either way I’m not your mom, if you wanna die dumb I tried to prevent it.

https://github.com/AiyionPrime/EggCartons

One last thing.

It does not matter wether your attempts to solve a problem were stupid or failed hard.

But if you ever expect an answer to one of your problems you should explain what you tried.

We’re not here to solve your problems, but to help you understand to do it.

I remember that text. It comes from a site for exercising with Python coding.

Its name is Computer Science Circles, if I remember correctly.

Anyway, the correct answer at that specific exercise is:

```
eggs = input() #Reads imput, assigning it to the "eggs" variable
eggs = int(eggs) #Converts the "eggs" variable into an int
print(eggs // 12) #Performs a division, showing the result and ignoring the remainder, giving you the exact number of cartons that can be filled by the "eggs" variable
print(eggs % 12) #Performs a second division, this time showing only the remainder, giving you the exact number of eggs that will be left over
```