There’s some time limit before having to re input it.
Inputting a password multiple times into sudo has downsides too. Larger window for attackers to do something like: add a directory to your path, which has a fake sudo in it, and capture your password.
If you do multiple admin commands, sudo doesn’t prompt for your password. There’s some time limit before having to re input it.
Logging in as root is bad security hygiene. You’ll become complacent and leave it logged in at some point. That’s how you get pwnd.
Inputting a password multiple times into sudo has downsides too. Larger window for attackers to do something like: add a directory to your path, which has a fake sudo in it, and capture your password.
Depends how it’s configured