cpsc11Asg3.docx - CPSC111-Introduction to computing By Dr...

This preview shows page 1 - 4 out of 7 pages.

CPSC111-Introduction to computing By Dr. Ahmed Malki – Asg. #3 (Fall-2018) Assignment 3 Working with functions, nested loops, and recursion Team up with a classmate to work on this assignment Name: ____________________________ Student number: __ __ __ __ __ __ ASSIGNMENT MARK : ________ / 50 Due Date: Tuesday, Nov. 20 th As always, all your answers should use functions and every function should have a documentation string explaining the purpose of the function. Use the Python template given below at the top of your program you submit (don’t forget to modify it to include your information; your name and your student number.) # Program: cpsc111-F18-asg3.py # Author: Enter your Name and student number here # Class: CPSC 111 # Date: 03/11/2018 # Task: Assignment #3 # Purpose: Solving simple functions ___________________ # Do not wait until the last minute to do this assignment in case you run into problems. Submit your assignment to the instructor by email at: [email protected] Part 1 - Simple Functions 1. [14 points] Write a Python function that uses nested loops to print each of the following Structures 1 | am/cpsc111-F18-Asg3.docx Assigned: Saturday Nov. 3, 2018
CPSC111-Introduction to computing By Dr. Ahmed Malki – Asg. #3 (Fall-2018)
2 | am/cpsc111-F18-Asg3.docx Assigned: Saturday Nov. 3, 2018
CPSC111-Introduction to computing By Dr. Ahmed Malki – Asg. #3 (Fall-2018) print() tryQ2()

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture