Answer:
A drawing/graphics tablet
Explanation:
It is ideal for artists, due to it being very similar to as if you were to draw on paper. The stylus replicates a pencil or pen.
Answer:
D. The sun
Explanation: Illuminated objects are objects that are capable of reflecting light to our eyes. The sun is an example of a luminous object, while the moon is an illuminated object.
n where n is the number of chances user takes to enter a blank number and n>=1.
<u>Explanation:</u>
The loop starts with a universal condition where it is initialized using a true value. Hence the iteration count goes to 1. The user is asked to enter a number after 1st iteration. If number is a blank number, the loop is terminated, else the loop goes on until the users enters a blank number. Hence the iterations depend on the number of chances taken by the user to enter a blank number. Since the user is going to enter a number at least once, the minimum value of n will be 1.
def replace_at_index(txt, ind):
new_txt = ""
for x in range(len(txt)):
if x == ind:
new_txt += "-"
else:
new_txt += txt[x]
return new_txt
print(replace_at_index("eggplant", 3))
I wrote my code in python 3.8. I hope this helps.