I am almost 27 weeks pregnant and I was wondering if I am allowed to swim?

Yes... If you are well and the pregnancy is going well, you should not have problem enjoying a swim. Just be careful walking on the slippery areas as your balance may not be as good carrying a baby. Enjoy. Congrats and good luck with the pregnancy!
Absolutely. Swimming is a great exercise when your pregnant - it's low impact, fun, and safe. Stay away from the hot tubs though!