Answer:
Income requirement is met.
Explanation:
(minIncome > income) will evaluate to false
(cutOff < income) will evaluate to false
the else portion will be executed which is "Income requirement is met"
Answer:
theSentence = input('Enter sentence: ')
theSentence = theSentence.split()
sentence_split_list =[]
for word in theSentence:
sentence_split_list.append(word[1:]+word[0]+'ay')
sentence_split_list = ' '.join(sentence_split_list)
print(sentence_split_list)
Explanation:
Using the input function in python Programming language, the user is prompted to enter a sentence. The sentence is splited and and a new list is created with this statements;
theSentence = theSentence.split()
sentence_split_list =[ ]
In this way every word in the sentence becomes an element in this list and individual operations can be carried out on them
Using the append method and list slicing in the for loop, every word in the sentence is converted to a PIG LATIN
The attached screenshot shows the code and output.
Answer:
A. <Title> tag
Explanation:
Required
Tag that can be written in the <head> element
Of the given options, <title> is correct.
This is so because, it is compulsory to have the <title> tag and the only location where it can be placed is inside the <head> tag.
Its function is to display the title of a page
e.g.
<em><title> This is my first page </title></em>