I didn't watch the video but the one thing I noticed in your code is how you handle the data from the input in the first function. When you get the number of fractions from input(), it’s coming in as a string, so that’s why the loop isn’t working right. You need to convert it to an integer, otherwise, the while loop gets confused because you're comparing a string to a number, which won’t work properly.
fractions = int(fractions)