Answer:
while True:
number1 = input("Enter the number1: ")
number2 = input("Enter the number2: ")
if number1.isnumeric() and number2.isnumeric():
break
number1 = int(number1)
number2 = int(number2)
print("The sum is: " + str(number1 + number2))
Explanation:
*The code is in Python.
Create an infinite while loop. Inside the loop, Get the number1 and number2 from the user. Check if they are both numeric values. If they are, stop the loop (Otherwise, the program keeps asking for the numbers).
When the loop is done, convert the numbers to integer numbers
Calculate and print their sum
Answer:
def leap_year_check(year):
return if int(year) % 4 == 0 and (int(year) % 100 != 0 or int(year) % 400 == 0)
Explanation:
The function is named leap_year_check and takes in an argument which is the year which we wish to determine if it's a new year or not.
int ensures the argument is read as an integer and not a float.
The % obtains the value of the remainder after a division exercise. A remainder of 0 means number is divisible by the quotient and a remainder other wise means it is not divisible by the quotient.
If the conditions is met, that is, (the first condition is true and either the second or Third condition is true)
the function leap_year_check returns a boolean ; true and false if otherwise.
1. Cyberbullying
2.Confide in an adult you trust, such as a teacher or a parent
3.It is easy to miscommunicate and escalate the situation in an online environment
Cyberbully hurts people, so NEVER post something that could hurt someone's feelings
Hope this helps!
<h2>
My Answer:</h2>
FTP: The definition on Wikipedia is; "The File Transfer Protocol (FTP) is a standard network protocol used for the transfer of computer files between a client and server on a computer network."
So, if the question is asking for technology that provides a method for two computers hooked to the internet transfer files back and forth between each other, so if we can sum it up the answer which makes the most sense is <em>FTP</em>.
~TheExpertNerd