In python
Write an expression that executes the loop body as long as the user enters a non-negative number.
Note: If the submitted code has an infinite loop, the system will stop running the code after a few seconds and report "Program end never reached." The system doesn't print the test case that caused the reported message.
Sample outputs with inputs: 9 5 2 -1
Body
Body
Body
Done.
Answer:
inputed = input("Choose some numbers, each separated with a space: ")
chosen = list(inputed)
chosen = chosen.remove(' ')
for value in chosen:
if '-' not in value:
print(Body)
else:
print(Done)
break
Explanation:
The for loop will go through every value in the list (your numbers) and check if it is positive or negative.
What is the wavelength of a photon with an energy of 3. 38 x 10^-19 j
The photon has a wavelength of 588 nm
what is a wavelength?Wavelength is the distance between two points along the path of the wave.
it is usually represented by λ
Energy of a photon, E = ( h c ) / λ
where:
h is Planck's constant = 6.626 × 10 -34 Js
c is speed of light = 3.0 * 10^8 m/s
λ = ( h c ) / E
λ = ( ( 6.626 × 10 -34 ) * ( 3.0 * 10^8 ) ) / 3.38 * 10^-19
λ = 5.88 * 10^-7 m
λ = 588 * 10^-9 m = 588 nm
λ = 588 nm = 588 nanometers
Read more on photon here: https://brainly.com/question/15946945
Construction engineering does not have much to do with design.
True
False
does advanced auto parts install engine air filter
Answer:
You have to do it yourself.
Explanation: