MILWAUKEE — There aren’t many sure things in basketball, but there are a few. Shooters get paid. Refs get yelled at. And the Nets play nail-biters — more than anybody else in the league.

“Now we’ve got to learn how to close out games against really good teams,” DeMarre Carroll told The Post in the aftermath of Tuesday’s 109-108 loss at Oklahoma City. The lead changed six times in the final 2:23, the latest in a string of tooth-and-nail affairs.

“We talk about end-of-game scenarios a lot,” Joe Harris said, “where we have these experiences where we’ve been in this situation a lot, and using this experience — especially when playing against high-caliber teams like [Oklahoma City] — is only going to be beneficial for us down the road.”

The Nets have seen 22 games decided by six points or fewer, the most in the league, including 10 of the past 12. And for them, six points is a blowout. Tuesday was their fourth game decided by a single point in January alone.

see also

There was the 98-97 victory over the Timberwolves on Jan. 3, with the Nets set to play the rematch in Minnesota on Saturday. Then came the 114-113 overtime loss to Toronto on Jan. 8. And Sunday’s 101-100 win in Detroit, before blowing a 15-point third-quarter lead and falling in Oklahoma City.

“It’s a learning process for this group. The coaches, the players and we’ll learn from it. Tough lesson,” coach Kenny Atkinson said. “You’d like to bring it home up 15, but I don’t think we got the defensive stops necessary. Then I thought we got four or five clean looks. You’ve got to put them down to put [OKC] away.

“We look at film, look at the tactical mistakes we made, coverage. Instead of 11 of them, can we make six of them? And they’re not the same mistakes.”

These slugfests do always seem to end the same way. The Nets have to defend a drive in the final seconds on one end. And they need to hit a clutch basket on the other, Spencer Dinwiddie either making or missing. Brooklyn’s go-to guard has likely taken, hit and missed more clutch shots than anybody in the league.

“Just like the last game when we talked about growth and closing games out. We were one shot short this time, and that’s how it’s going to fall sometimes,” Dinwiddie said. “It is what it is. We’re still a young group learning and we played a great game overall. We just have to find a way to get one more stop or one more bucket.”

It was Dinwiddie who missed last-ditch shots in a 123-119 overtime loss at Indiana on Dec. 23 and an 87-85 home loss to the Celtics on Jan. 6, as well as that Toronto heartbreaker. But he had hit a 14-foot floater with just 0.9 seconds left to pull out Sunday’s victory at Detroit.

see also

Dinwiddie had gone into Tuesday tied with CJ McCollum for the most baskets to tie or take the lead in the final minute of the fourth quarter or overtime this season. His driving layup to make it 108-107 with 7.8 seconds left gave him an NBA-leading seventh.

But Dinwiddie saw Russell Westbrook answer with 3.3 seconds remaining, then he missed a desperation 3-pointer at the buzzer, guarded by OKC’s Andre Roberson — his longtime girlfriend’s brother.

The NBA’s Last Two Minute report confirmed that Thunder forward Paul George’s pick play on Dinwiddie Tuesday impacted his ability to defend with 6 seconds left in the game. In essence, it’s an incorrect call that went against the Nets in what became a one-point loss.

“You learn best by going through the different experiences,” Dinwiddie said. “You know obviously every game presents different challenges, whether it be stops, rebounding or getting buckets. We were able to do just enough to get some of those wins, now we try to apply it to every game going forward.”