Yes, it's the same as without the underscores. They have underscores there to act as thousand seperators, which for longer numbers can make them easier to read.
It's similar to how in writing we separate thousands with commas (or dots depending on your region):
1,000,000 # A million
Because of how that would interfere with tuple creation though:
n = 1,000,000
print(type(n))
<class 'tuple'>
Python uses underscores instead of commas.