Question: in python 1. Write code that will ask the user to input a wavelength from 380 to 740. (This represents a wavelength on the EM
1. Write code that will ask the user to input a wavelength from 380 to 740. (This represents a wavelength on the EM spectrum corresponding to visible light, in nm.) Then, print out the perceived colour of based on the ranges below. 600-740: Red 565-600: Yellow 510-565: Green 435-500: Blue 380-435: Violet I Note, all ranges above are exclusive of the upper limit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
