In this post-lab you will demonstrate problem solving by writing a simple Python program.
Create a Python program that prints the number of handshakes it would take for every student in a classroom to shake hands with every other student. Assume that there are 28 students in the classroom. This program should use arithmetic operations to perform the calculations necessary. Use variables where appropriate, and follow the course's code conventions.
$ python3 handshakes.py It would take 378 handshakes for all 28 students to meet each other.
There are roughly 1,869 students on the Roanoke campus. That's a pretty big number, but relatively small compared to other schools. If every student tried to shake every other students' hand, how many handshakes would that be? Add code to your program to caclulate and print the result.
Submissions for post labs are to be done via the inquire system. Go to http://inquire.roanoke.edu/ You should see a section for post labs. Submit your .py file to the appropriate post lab location.