Answer:
def str_analysis(s):
if s.isdigit():
s = int(s)
if s > 99:
message = str(s) + " is a pretty big number"
else:
message = str(s) + " is a smaller number than expected"
elif s.isalpha():
message = s + " is all alphabetical characters!"
else:
message = "There are multiple character types"
return message;
s = input("enter word or integer: ")
while s != "":
print(str_analysis(s))
s = input("enter word or integer: ")
Explanation:
- Check if the string is digit, alphabetical, or mixed inside the function
- Ask the user for the input
- Call and print the result of the <em>str_analysis</em> function inside the while loop
- Keep asking for the input until the given string is empty
Answer:
5 hours 25 minutes
Explanation:
It takes 25 minutes to finish a hole
It takes 25*13 minutes to finish 13 holes
325 minutes is require to finish 13 holes
Convert 325 minutes to hours and minutes by dividing it by 60
=5 5/12 hours
Convert 5/12 hours to minutes by multiplying by 60
=25 minutes
The answer is 5 hours 25 minutes
Aaaaaaaaaaaaaaaaaaaaaaaaaaaa
Answer:
Begin the statement with the proper keyword to start the loop
Explanation:
Given
The code segment
Required
Fix the code
The first line of the code segment is meant to be a for loop, but it does follow the right syntax.
This is so because the for keyword is missing.
The first line should be corrected and replaced with:
for count in range(80):
Hence, option (b) is correct
Answer:
d. All of the given options
Explanation:
Great question, it is always good to ask away and get rid of any doubts that you may be having.
<u>Advertising and Publicity</u> is used for many reasons.
Retail Companies use advertising and publicity to promote their products and in term increase sales of that product when it hits the shelves.
Meanwhile, other companies such as Law Firms use advertising and publicity create awareness for their law firm and communicate with customers over high profile case etc.
Therefore, the answer is all of the above.
I hope this answered your question. If you have any more questions feel free to ask away at Brainly.