Answer:
- def convertStr(num):
- Number = ("One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine")
- numStr = str(num)
- output = ""
-
- for x in numStr:
- index = int(x) - 1
- output += Number[index] + " "
-
- return output
-
- value = 1234
- print(convertStr(value))
Explanation:
Firstly, create a function convertStr that take one input number (Line 1).
This function convert the input number to string (Line 3) and then use for-loop to traverse through the individual digit (Line 6). In the loop, get the target index to extract the corresponding digit letter from the Number tuple(Line 7). The target index is always equal to the current digit number - 1. Next, join the extracted digit letter from the tuple to an output string (Line 8) and return it at the end of the function (Line 10).
We test the function using 1234 as argument (Line 12 - 13) and we shall get One Two Three Four
Answer:
Option A B is the correct option for the following question.
Explanation:
Because search engine companies are the companies that create the search engines like Yahoo, Google, DuckDuckGo, etc. and search engine are the tool which contain the information about which users search on it and also contain the records of the URL in their database. URL is submitted by the owner of the website and information to the SEC.
If you want to set the sticky bit on an existing directory, subdir, without otherwise altering its permissions. to do so, you should type chmod a <u>t <subdir>.</u>
<h3>What is
Subdir?</h3>
The Definition of the term subdirectory is known to be a kind of an organizational directory that can be seen on a computer.
It is known to be one that can be found inside another directory such as a subfolder. It is seen as the file a person is looking for and it is one that needs to have an extension.
Therefore, if you want to set the sticky bit on an existing directory, subdir, without otherwise altering its permissions. to do so, you should type chmod a <u>t <subdir>.</u>
Learn more about directory from
brainly.com/question/14845522
#SPJ1
See full question below
You want to set the sticky bit on an existing directory, subdir, without otherwise altering its permissions. To do so, you should type:
chmod a+_____ <subdir>
- s
- p
- b
- t
Answer:
a. daily
Explanation:
A webpage gets a new modification date whenever any change is made. This is irrespective of whether the change is large or small, significant or insignificant. Any update to the webpage will change its modification date. But this change will not be carried out automatically everyday unless an actual modification is carried out on that day.Otherwise it will continue to carry the modification date corresponding to the day of last update.