Question: Please refer to my Python code below. The output has extra space btwn the $ and the value. How do I add code to strip

Please refer to my Python code below. The output has extra space btwn the $ and the value. How do I add code to strip this white space. I have tried strip() but not sure how to put it in correctly. thanks

Please refer to my Python code below. The output has extra space

https://HighlevelFarLanservers.juliebaggett.repl.run Enter the year the car was made: 1963 Value of Ferrari GTO 250 in year 1963 was: $ 18500 main.py E saved 1 car_year = int(input("Enter the year the car was made: ")) 2 if car_year = 1962 and car_year = 1965 and car_year = 1969 and car_year = 1972 and car_year = 1976 and car year = 1981 and car_year = 1986 and car_year = 2013 and car_year 2014: value = 'Not yet determined.' print("Value of Ferrari GTO 250 in year", car_year, "was: $", value)

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!