Answer:
It displays an error message from the getDouble() method
Explanation:
The above would be the result because of the following
1. Variable d is declared as a double variable and should be used as such.
2. The getDouble() method is also defined to handle double variables only.
When the program tries to accept at
weightInPounds = getDouble(sc, prompt);
The getDouble method is called immediately and since the value
"two hundred" entered in string, it can't handle this data type and it (the getDouble method) will display an error message
Dictary = {
'code':6734,
'dept': 'sales',
123-45-6789:"Mr.Potato Head \n234 Potato Lane \nPotato Chip, ID 77725"
}
for i in Dictary.keys():
if i == 123-45-6789:
print(Dictary.get(i))
break
else:
print("Key not found")
You can further test this code by deleting Mr.Potato head's info from the dictionary. I hope this helps!
Answer:
Walt
Explanation:
Cause that n***a Frozen to
U get it lol xD
If it was already answered sometimes you can’t answer it. at least that’s what I think, bc that happens to me too. You can always comment if you want to say something.
You have an easier chance of becoming an engineer.