There are multiple variants of triathlons that differ drastically in terms of length so for an optimal answer, please tell me which specific kind of triathlon you want to train for. In any case, all triathlons include a combination of swimming, cycling, and running. Even short triathlons have a length of several kilometers. Therefore endurance will be more important than strength, so your focus should be on cardio rather than strength training. Unless you're really short on training time you should however still include some strength training since this will be more efficient than only cardio (a combination is also better for your health).

Also in case you are unaware: instead of just worrying about strength training vs. cardio you should also think about nutrition and sleep. Good food and plenty of sleep are at least as important as training hard.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence