Solution:
\[\left( v \right)\] Number of favorable outcomes for a diamond or a spade \[=\text{ }13\text{ }+\text{ }13\text{ }=\text{ }26\]
So, number of favorable outcomes \[=\text{ }26\]
Hence, P(getting a diamond or a spade) \[=\text{ }26/52\text{ }=\text{ }1/2\]