a. if num2 > 5: print ("Big") else: print ("Small") b. if numl == 5: print("Message 1") else: print("Message 2") c. if numl = 5: print("Message 1") else: print("Message 2") if num2 > num1: print ("Tom") if not tf: d.
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
![10. Given the following variables, for each problem, determine what will be printed on the screen
when the code is executed. If there is an error, say what the error is.
numl = 4
num2 = 13.0
tf =
False
if num2 > 5:
e. if tf
num2 > numl:
а.
==
print ("Big")
print ("this tf:", tf)
ww"
wwww
else:
else:
print ("Small")
print ("that tf:", tf)
www"
b.
if numl
5:
f. tf = True
www
print ("Message 1")
if tf
== num2 > numl:
else:
print ("this tf:",tf)
www
print ("Message 2")
else:
print ("that tf:",tf)
www
if numl = 5:
c.
print ("Message 1")
g.
tf =
"True"
www
else:
if tf == num2 > numl:
print ("Message 2")
print ("this tf:",tf)
else:
print ("that tf:",tf)
www
d.
if num2 > numl:
print ("Tom")
if not tf:
www
print ("Harry")](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F5d0270f2-c480-4f71-a38d-f4075fda1dcd%2F29a9581d-fe32-4433-926f-4b866bf1bb12%2F7miw95g_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
As per our guidelines we are supposed to answer three sub parts kindly repost other sub parts as a separate question
a)
if num2>5:
print("Big")
else:
print("Small")
output
Big
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 4 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)