We’ll, yes and no.
If you want examples of rational numbers and irrational numbers between 5 and 6, here are some examples:
5.5, 5.25, 5.99999, sqrt(26), 5.4897415907327
However, if you want to find ALL rational and irrational numbers in [5,6], you can’t. Rationals and irrationals are dense. Simply put, there are too many irrational and rational numbers within this interval that it’s not even funny. This is better explained if you ever get into Intro to Proofs or Analysis.