Use You can't use runtime variables inside the angle brackets. The compiler needs to know which element you want to determine the return type. This differs from array indexing where indices can be variables.
If your tuple is Understanding this concept deeply will help you write better code. Practice with examples until the pattern becomes automatic. Review earlier sections if anything is unclear.
Building on solid foundations makes advanced topics easier.