Question: Write a program that creates an image of blue and white vertical stripes. Your program should ask the user for the size of your image,
Write a program that creates an image of blue and white vertical stripes. Your program should ask the user for the size of your image, the name of the output file, and create a .png file of stripes. For example, if the user enters 10, your program should create a 10x10 image, alternating between blue and white stripes.
A sample run of the program:
Enter the size: 11 Enter output file: 11stripes.pngAnother sample run of the program:
Enter the size: 50 Enter output file: 50stripes.pngStep by Step Solution
3.48 Rating (151 Votes )
There are 3 Steps involved in it
To create a program that generates an image of vertical blue and white stripes you can use Python al... View full answer
Get step-by-step solutions from verified subject matter experts
