Question: python Ruler 1) Write a program that asks a user to enter a number n and displays a rule start of size n. Example for

 python Ruler 1) Write a program that asks a user topython

Ruler 1) Write a program that asks a user to enter a number n and displays a rule start of size n. Example for n = 12: I ------- 2) Modify this program to ask for two numbers n and k and display a rule of length n graduated from k to k. Example for n = 12, k = 3:1-1-1-1-1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!