Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
As far as the original question by the OP - your iPhone 7 came with iOS 10
the specific (dot) version depends on when it was manufactured.
It's iOS 10. dot versions are just details.
You likely updated it (or should) as you set it up.
What difference does it make now?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.