In Mendelian genetics, certain traits exhibit dominant and recessive patterns of inheritance. For the garden pea plant, several traits were studied by Mendel. Among the traits listed:
In Mendel's experiments, the recessive trait will only appear if both alleles are recessive (homozygous recessive). For the constricted pod trait, the pod will appear constricted only if the plant is homozygous recessive.

Rearrange the following parts to form a meaningful and grammatically correct sentence:
P. that maintaining a positive attitude
Q. even in difficult situations
R. is essential for success
S. and helps overcome obstacles effectively