HOTSPOT You find errors while evaluating the following code. Line numbers are included for reference only. You need to correct the code at line 03 and line 06. How should you correct the code? Use the drop-down menus to select…

You develop a Python application for your school. You need to read and write data to a text file. If the file does not exist, it must be created. If the file has content, the content must be removed. Which…

You develop a Python application for your company. You need to accept input from the user and print that information to the user screen. You have started with the following code. Line numbers are included for reference only. Which code…

You are writing code that generates a random integer with a minimum value of 5 and a maximum value of 11. Which two functions should you use? Each correct answer presents a complete solution. (Choose two.) A. random.randint(5, 12) B.…

You are writing an application that uses the sqrt function. The program must reference the function using the name squareRoot. You need to import the function. Which code segment should you use? A. import math.sqrt as squareRoot B. import sqrt…

You are creating a function that manipulates a number. The function has the following requirements: A float is passed into the function The function must take the absolute value of the float Any decimal points after the integer must be…