Time estimation makes the most since in this scenario
<h3><u>
Answer:</u></h3>
# Using the input function
# Prompt the user to input some number
# Convert the input to a float - this will cater for both floating
# numbers and integers
# Store the result in a variable called my_number
my_number = float(input('Please enter some number '))
#Create a variable named calculation which equals my_number plus 9
calculation = my_number + 9
#Multiply calculation by 2
calculation *= 2
#Subtract 4 from calculation
calculation -= 4
#Divide calculation by 2
calculation /= 2
#Subtract my_number from calculation
calculation -= my_number
#Print calculation
print('calculation = ' + str(calculation))
<h2><u>Sample Output</u></h2>
>> Please enter some number 8
calculation = 7.0
<h2><u>
Explanation:</u></h2>
The above program has been written in Python and it contains comments explaining each line of the code. Please go through the comments. A sample output has also been provided.
What is this supposed to be?
Answer:
transport
Explanation:
taking you to what ever website you want
Answer:
Name of Operating System: Ubuntu
Five legal file names:
inventory.txt
total.txt
NIKKAH.txt
Defaulter.txt
studenT.txt
Five illegal file names:
wel/come.txt
..
MY>note.txt
.
my<work.yxt
Explanation:
To fix the illegal name:
1. Remove the special character, so it becomes welcome.txt
2. Remove the double dot and rename using text characters
3. Remove the special character, so it becomes MYnote.txt
4. A file cannot be named using dot. So we rename to a textual name
5. Remove the special character, so it becomes mywork.txt
Some additional rule for naming of files legally in Unix is that, you cannot use a reserved word to name your file. Starting a file name with number is allowed. Starting a file name with dot make the file to be hidden.