Question: Python programming Question One : Write a python program that will display a bar chart based on data enter from user input. The program should

Python programming

Question One: Write a python program that will display a bar chart based on data enter from user input. The program should ask the user to enter three numbers (user input). For example, the first number entered by the user is 10; the program should print 10 hashtags to represent the value of 10. If the user enters the number 6, the program should print 6 hashtags to represent the number 6 and if the last number entered by the user is 8, the program will print 8 hashtags to represent the number 8.

Screen Output

Enter any number: 10

Enter another Number: 6

Enter another Number: 8

########## 10

##### 6

######## 8

Question 2: Using the same codes from question one, modify the program so that if a user enters a value that is greater than the number 25. For example 287, the program will display 25 hashtags (#) on the screen to represent the value 287 as shown in the Screen Output below. Here is how a bar chart might look now (with different data):

Screen Output

Enter the number 7

Enter another Number 25

Enter another Number 287

####### 7

######################### 25

######################### 287

Codes should be written in python

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!