A teenager has been sentenced to more than 20 years in prison for a 2022 deadly shooting at Black Bob Park in Olathe.