[tex]\star[/tex]Question asks for finding the probability of getting a banana.
[tex]\star[/tex]Facts given:-
Solution:-
[tex]\boxed{\sf P(B)=\dfrac{Total\:bananas}{Total\:Fruits}}[/tex]
[tex]\\ \sf\longmapsto P(B)=\dfrac{2}{4}[/tex]
[tex]\\ \sf\longmapsto P(B)=\dfrac{1}{2}[/tex]
Which is your complete answer