!. The Medieval period ended in the 15th Century.
2. The earliest “Guillotine” wasn’t invented until the middle of the 16th Century (but it wasn’t yet called a “Guillotine” because its namesake — Dr Joseph-Ignace Guillotin — wasn’t born yet).
3. The French last used the Guillotine for a state execution in 1977. Yes, 1977, not the Middle Ages.
16C Still not Medieval, but that machine was derived from the Halifax Gibbet, a "Guillotine" in use from the early 14th century - so yes the Middle Ages were more advanced than you think.