Answer:
The program to this question as follows:
Program:
targetValue = 0.3333 #defining variable targetValue and assign value
sensorReading = 0.0 #defining variable sensorReading and assign value
sensorReading = 1.0/3.0 #calculate value in sensorReading variable
Val=sensorReading - targetValue
#calculate the difference and store in Val variable
if (Val < 0.0001): #use of if block to check condition
print ("Equal") #print value
else: #else block
print ("Not equal") #print value
Output:
Equal
Explanation:
In the above Python program code, there are two variables "targetValue and sensorReading" is defined, in which targetValue store a value, that is "0.3333", and sensorReading holds a value, that is "0.0".
- In the next step, the "Val" variable is defined, that calculate the difference between both variable, that conditional statement is used.
- In if block, if the value is less then "0.0001", it will print value "Equal", otherwise, it will go to the else block, that will print "Not equal".
Answer:
1. The home tab
2. Font group
3. The small arrow at the bottom right of the font command group.
4. On "Font" heading (then "All text" subheading)
Explanation:
The following explanation will help Su in accomplishing her task.
1. Go to the home tab;
2. From the home tab, Su will have access to various command groups but in her case, she needs the Font command group.
3. There's a small arrow located at the bottom left of the font command group section; clicking on this arrow will open the font dialogue.
4. On the font dialogue, there are two headings. The "font" heading and the "character spacing" heading.
In her case, she needs the "Font" heading. The font heading also has various subheadings. To access the underline colour option, she needs the "All text" subheading.
See attachment for picture guide.