Shopping Cart
Your shopping cart is empty!

CYB 130 Week 2 Using Loops New Work Work

CYB 130 Week 2 Using Loops New Work Work
Model:Recent
Price: $15.00 $8.00
Qty:   Check out
This Tutorial was Purchased: 7  Times   & Rated: A+ by student like you.

attachments This Tutorial contains following Attachments:

  • CYB 130 Week 2 Using Loops.doc

CYB 130 Week 2 Using Loops NEW

Write a Python script that asks the user to input an integer and then a character.  Use those values to print the character in the following pattern:

r rrrr

r rrr

r rr

r r

r

r

r r

r rr

r rrr

r rrrr

The entry for this output was the integer 5 and the letter r.  Your output could use any integer or letter to print this pattern. Notice there is an empty space between the two patterns, this should be included in your code.

To accept character input in Python version 2, use the following statement:

ch = raw_input(“Enter a character to print: “)

Submit your copied and pasted code into a document and include a screen shot of it working on your own computer system.

Submit your assignment using the Assignment Files tab.

Write a review

Your Name:


Your Review: Note: HTML is not translated!

A   B   C   D   F  

Enter the code in the box below:



Top