Answer:
Code:-
# function to print the pattern
def draw_triangle(n, num):
# base case
if (n == 0):
return;
print_space(n - 1);
print_asterisk(num - n + 1);
print("");
# recursively calling pattern()
pattern(n - 1, num);
# function to print spaces
def print_space(space):
# base case
if (space == 0):
return;
print(" ", end = "");
# recursively calling print_space()
print_space(space - 1);
# function to print asterisks
def print_asterisk(asterisk):
# base case
if(asterisk == 0):
return;
print("* ", end = "");
# recursively calling asterisk()
print_asterisk(asterisk - 1);
# Driver Code
n = 19;
draw_triangle(n, n);
Output:-
# Driver Code n = 19;| draw_triangle(n, n);
Answer:
The correct option is;
A. Investigating and reflecting
Explanation:
In the investigating and reflecting stage, the team involved in the development tries to acquire a thorough and empathic view of the problem the app is meant to solve by researching, the needs of the potential end users of the app so as to isolate the design concept from personal assumption to real world scenarios.
Answer:
input() prompts the user to enter information
Annabelle is indeed a true story making it fiction