GlobalLogic Interview Question

Write a code to find Prime Numbers, Write a code to add key and values in dictionaries, write a code to reverse words in sentence .