Answer:
In Python:
N = int(input("Positive integer: "))
if N > 0:
flag = False
for i in range(1,N+1):
if i * i == N:
flag = True
break
print(str(flag))
else:
print("Positive integer only")
Explanation:
N = int(input("Positive integer: "))
If the number is positive
if N > 0:
This initializes a boolean variable to false
flag = False
This iterates from 1 to the input integer
for i in range(1,N+1):
This checks if th number is a square of some integer
if i * i == N:
If yes, flag is set to true
flag = True
The loop is exited
break
This prints either true or false, depending on the result of the loop
print(str(flag))
If otherwise, that the number is not positive
<em>else:</em>
<em> print("Positive integer only")</em>
Answer:
If you want to learn coding than get a game and look at the code inside.
Explanation:
I sugest terraria
Answer:
Correctly position the platen of the printer to hold the paper in place.
Explanation:
Since the dot matrix printer is printing dark and clear on the left of the paper but very light on the right side of the paper, it is possible that the paper is not being held properly. So adjusting the platen will hold the paper properly and hence uniform prints on the paper.
Note: Dot matrix printers are printers that print closely related dots to form require texts (shapes) by striking some pins against an ink ribbon.
Some of the parts of these printers are; power supply, carriage assembly, Paper sensor, ribbon, platen and pins.
<em>A.)</em>
<em>It's either A or D both of them stand out and make sense to me so I think that it'll be right if you choose A or D.</em>
<em>-Ɽ3₮Ɽ0 Ⱬ3Ɽ0</em>
5 I don’t think it’s good. I thought it was boring.