Answer:
I am going to use the Python programming language to answer this. The source code is given below:
print("Enter your tweet here")
user_tweet = input()
decoded_tweet = user_tweet.replace('TTYL', 'talk to you later')
print("This is the decoded tweet: ")
print(decoded_tweet)
Explanation:
In the program the replace() module was used to replace 'TTYL' with 'talk to you later.'
Attached is the screenshot of the output.
Answer:
Following are the program in python language:
def list_concat(ls): #define function
if(len(ls) == 0): #set if condition
return ""
res = ""
for x in ls: #set for loop
res += x + " "
return res[:len(res)-1] #removing the extra spaces from list
ls = ['limit','break','ready'] #initialize the value in list
print(list_concat(ls)) #call the function
Output:
limit break ready
Explanation:
Here we declared a function "list_concat()" in which we pass an argument "ls" then check if condition that check the length of list .We also Iterating the loop in that function res[:len(res)-1] statement removes the extra space from the list and finally print the list
Answer:
B. It ensures that payments to credit card accounts are categorized correctly
D. It uses language that non-accountants can understand
Explanation:
Pay down credit card workflow is a new feature that makes entering records in QuickBooks easier for users. The two prime benefits of this workflow are;
1. It ensures that payments to credit card accounts are well categorized well. Without this feature, users most times find it difficult to enter records correctly or they tend to duplicate entries. This new feature obtains vital information that helps the software to correctly credit the accounts.
2. It uses language that non-accountants can understand. This simplifies the process and makes it easier for the user to enter the right data that would help the software to correctly credit the accounts.
An attribute of a website that will indicate a more reliable source of information is when the site ends in ".edu". It is a top-level domain for education. It would mean that this particular site is linked to universities, colleges or other educational sites thus it gives more information that is real and factual.
Answer:
None of the options is correct.
Explanation:
One of the simplest statements that you can write in Python is a print statement, which causes a message to be displayed on the screen. For example, the following statement causes the message Python programming is fun! to be displayed:
print 'Python programming is fun!'
Notice that after the word print, the Python programming is fun! was written inside a set of single-quote marks. The quote marks are necessary, but they will not be displayed. They simply mark the beginning and the end of the text that we wish to display.
Here is an example of how you would type this print statement at the interpreter’s
prompt:
>>> print 'Python programming is fun!'
After typing the statement you press the Enter key and the Python interpreter executes the statement, as shown here:
>>> print 'Python programming is fun!'
Python programming is fun!
>>>
Thus, the correct way to write the codes in the question is:
print 'Programming is fun'
print 'Python'
print 'Computer Science'