Competitive Programming Team

HyCap Academy is calling out for middle school and high school students in the Federal Way area to form a competitive programming team for the PLU Middle/High School Programming Contest in February for 2020.

We will be learning and practicing using Python.

If you have any programming experience, or would like to learn how to program, please contact us or swing by the informational session.

If you’d like to sign up for the course, please register using the following link:

Here is a sample problem in the novice division. You can try to solve it in the coding window below. Additional problems can be found here.

Print the star-like shape exactly as shown below. Print the . (period) and * (star) symbols.  
.........*.........
.........**........
.........*.*.......
...******...*......
....*........******
.....*...........*.
.....*..........*..
....*..........*...
...*....*.....*....
..*...*..*...*.....
.*..*......*..*....
.**..........*.*...
...............**..

Here is another challenge:

Input File: periods.dat
Eric gets distracted so sometimes he forgets to put periods at the end of his sentences. To help him out, you are to put a period at the end of his sentences if the period is not already present.
Input: 
The first line of input will contain a single integer n that indicates the number of lines to follow.  Each line will consist of a sentence which may or may not have a period at the end.

Output:
Output the sentence, making sure there is one period at the end.

Example Input File 
3
You kicked my dog
No I did not.
It was the kid that did

Example Output to Screen 
You kicked my dog.
No I did not.
It was the kid that did.