Answer:
Pong
Explanation:
In 1958, a physicist created a tennis game in which he found the very first video game.
Answer: your document will be inaccessible
Monitor is a display for a computer system.
monitor is the primary memorable device.
a printer is a device that builds one static image and captures it permanently on a suitable medium.
a printer cannot project information unlike a monitor.
a monitor is mainly used for commands.
Python can be used to implement central of tendencies such as mean, median and mode using the statistic module
The program in Python, where comments are used to explain each line is as follows:
#This imports the statistics module
import statistics
#This defines the function that calculates the mode
def calcMode(myList):
#This prints the mode
print(statistics.multimode(myList))
#This defines the function that calculates the median
def calcMedian(myList):
#This prints the median
print(statistics.median(myList))
#The main method begins here
#This initializes the list
myList = []
#The following iteration gets input for the list
for i in range(10):
myList.append(int(input()))
#This calls the calcMode method
calcMode(myList)
#This calls the calcMedian method
calcMedian(myList)
Read more about similar programs at:
brainly.com/question/25026386
Answer:
def enterNewPassword():
while True:
password = input("Enter password: ")
has_digit = False
for i in password:
if i.isdigit():
has_digit = True
break
if not has_digit or (len(password) < 8 or len(password) > 15):
if len(password) < 8 or len(password) > 15:
print("The password length must be between 8 and 15!")
if not has_digit:
print("The password must include at least one digit!")
else:
return password
print(enterNewPassword())
Explanation:
*The code is in Python.
Create a function named enterNewPassword that takes no parameter
Create an indefinite while loop. Inside the loop, ask the user to enter the password. Initialize the has_digit as False, this will be used to check if password contains a digit or not. Create a for loop, that that iterates through the password, if one character is digit, set the has_digit as True and stop the loop (Use isdigit() to check if the character is digit or not).
After the for loop, check if has_digit is false or the length of the password is not between 8 and 15. If the length of the password is not between 8 and 15, print the error. If has_digit is false, again print the error.
Otherwise, password met the requirements and return the password
Call the enterNewPassword() function and print the result