Answer:
Algorithm for the above problem:
- Take a string from the user input.
- store the input string on any variable.
- Reverse the string and store it on the other variable.
- Compare both strings (character by character) using any loop.
- If all the character of the string matched then print that the "Input string is a palindrome".
- Otherwise, print "The inputted string is not a palindrome."
Output:
- If the user inputs "ababa", then it prints that the "Input string is palindrome"
- If the user inputs "ababaff", then it prints that the "Input string is not palindrome"
Explanation:
- The above-defined line is a set of an algorithm to check the number is palindrome or not.
- It is defined in English because the algorithm is a finite set of instructions written in any language used to solve the problem.
- The above algorithm takes input from the user, compare that string with its reverse and print palindrome, if the match is found.
Answer:
Check the explanation
Explanation:
arrow_base_height = int(input('Enter arrow base height:\n'))
arrow_base_width = int(input('Enter arrow base width:\n'))
arrow_head_width = arrow_base_width
while arrow_head_width <= arrow_base_width:
arrow_head_width = int(input('Enter arrow head width:\n'))
print()
for i in range(arrow_base_height):
for j in range(arrow_base_width):
print('*', end='')
print()
for i in range(arrow_head_width):
for j in range(arrow_head_width-i):
print('*', end='')
print()
Kindly check the code output below.
Answer:
The great thing about a cruise holiday is that everyone in your party can please themselves yet still have a real holiday together. The kids can make new friends and take part in fun and educational activities during the day, while the adults unwind by the pool, learn a new skill or hit the casino.
Answer:
The correct answer to the following question will be "Taxonomy
".
Explanation:
A location taxonomy seems to be the direction it helped organize the information into subgroups as well as subsections, often shown in a network map, in comparison to internet sites and access points.
- Is a very well-planned approach that implies that somehow the navigation features on the website become straightforward to do this and feature-packed
- The scientific method of categorizing, or classifying, items predicated on a default framework.
Answer:
Versatility refers to the capability of a computer to perform different kinds of works with same accuracy and efficiency.
Explanation:
thank me later