Answer:
a1="Ada Lovelace"
a2= input("Enter Password: ")
def checkpassword(a2):
if a2 == a1:
print("Correct Password")
else:
print("Wrong Password")
return 0
Explanation:
The string as password is given. Now we ask the user to input the password, and this is compared to the original password. If the passwords match, print password matched, or else print wrong password.
Zoey's Extraordinary Playlist
The Social Network
Snowden
Jobs
The Imitation Game
The fifth Estate
Mr. Robot
A Disk Defragmenter should be used
Q asks to write
1. input statement that prompts the user for the type of cheese:
What kind of cheese you like?
Input TYPE OF CHEESE
2. Print statement that clearly displays the output message related to the type of cheese:
Print "Pizza has" TYPE OF CHEESE "type of cheese."
Answer:
vw = fλ
Explanation:
Sound, like all waves, travels at a certain speed and has the properties of frequency and wavelength. You can observe direct evidence of the speed of sound while watching a fireworks display. The flash of an explosion is seen well before its sound is heard, implying both that sound travels at a finite speed and that it is much slower than light. You can also directly sense the frequency of a sound. Perception of frequency is called pitch. The wavelength of sound is not directly sensed, but indirect evidence is found in the correlation of the size of musical instruments with their pitch. Small instruments, such as a piccolo, typically make high-pitch sounds, while large instruments, such as a tuba, typically make low-pitch sounds. High pitch means small wavelength, and the size of a musical instrument is directly related to the wavelengths of sound it produces. So a small instrument creates short-wavelength sounds. Similar arguments hold that a large instrument creates long-wavelength sounds.
The relationship of the speed of sound, its frequency, and wavelength is the same as for all waves: vw = fλ, where vw is the speed of sound, f is its frequency, and λ is its wavelength. The wavelength of a sound is the distance between adjacent identical parts of a wave—for example, between adjacent compressions as illustrated in Figure 2. The frequency is the same as that of the source and is the number of waves that pass a point per unit time.