Python: How to run a select amount of code n amount of times where user input is n : newbie to python:

I'm having some trouble trying to repeat a certain part of code n times where n is user input. It would start off something like

roominput = int(input("How many rooms do you require painting?"))

The user would then input with an integer(n) and a select part of the program would repeat n amount of times, asking for the room name, room's dimensions and colour of paint for the wall. This is for a school project, so any help would be much appreciated. Thank you!

