A. yes
!= means not equal, so if you substitute, you get if(5 is not equal to 7), which renders True and executes
This represents Guy <span>Kawasaki Rule for PowerPoint Presentations. Here is what it stands for:
</span><span>10 slides are the optimal number to use in a presentation.
20 minutes is the longest amount of time that you should speak.
<span>30 point font is the smallest font that you should use on slides.
</span></span>
Answer:
#part 1
#read the amount
amount=int(input("enter the amount:"))
#find the dollars
doll=int(amount/100)
// find the cents
cent=amount%100
#print output
print("{} dollars and {} cents.".format(doll,cent))
#part 2
#read a floating point
temperature=float(input("enter the temperature:"))
#part 3
#read a word
firstWord=input("enter a word:")
Explanation:
In part 1, read amount and the find the dollars with the help of "/" operator. Then find the cents with "%" operator and print both.In part 2, read a point and cast it to float then assign it to variable "temperature".In part 3,Read a word and assign it to variable "firstWord".
Output:
enter the amount:4321
43 dollars and 21 cents.
enter the temperature:12.5
enter a word:hello
Hypot = float( input( "How long is the hypotenuse?: " ) )
height= float( input( "What's the height?: " ) )
print( "The width is %f\n" % ( sqrt( hypot**2 - height**2 ) ) )
# I don't know how to calculate interior angles, but that shouldn't be too hard
# You'll probably need to import the math lib: import math