Answer:
Make main function
def main():
Make some constants for the grades
A = 5.0 or 4.0
B = 4.0 or 3.0
C = 3.0 or 2.0
D = 2.0 or 1.0
F = 1.0 or 0.0
In the main function call the function you made and make sure to use those constants for help
also don't forget to call your main function or nothing will work
Explanation:
Making the main function is good programming practice for your future
Making the constants is also helpful to your programming.
Now how it works you call the function you wrote to calculate the grade.
I don't know how helpful this was this is one of my first answers. I am `also answering how I would do it
Answer:
Logistic Regression is used to solve the classification problems, so it’s called as Classification Algorithm that models the probability of output class. It is a classification problem where your target element is categorical
Explanation:
Answer:
"Case-Based Reasoning" is the answer for the above question.
Explanation:
- Case-Based Reasoning is a process of decision-making theory in which the new problems were solved based on the previously solved problem.
- It is used in artificial intelligence and robots. This helps to make any AI and robots to do the work and take decisions on its own.
- The theory is used to make any computer that behaves like humans. It can take decisions like a human.
- The above question asked about the method by which the new problem is solved on behalf of the old problem. Hence the answer is "Case-Based Reasoning".
Answer:
The technician has made a cross-over cable.
Explanation:
The network is a platform that provides two or more computers to communicate. There different types of networks, namely, local-area network (LAN), wide-area network (WAN), MAN or metropolitan-area network etc.
Devices in a network can be connected with cables (ethernet IEEE 802.3) or wirelessly (wifi IEEE 802.11a/n/g). Wiring standards are strictly followed in ethernet configuration.
Two ethernet wiring standards are T568A and T568B. The difference in both standards are the pin configuration and their position in a wire defines a cable system.
When a T568A or T568B are used on both ends of a twisted pair cable, it is called a straight-through cable. When T568A is used on one end and T568B on the other, it is called a cross-over cable.
These cable systems are used for different applications. the straight-through cable is used for connecting devices that are not the same like router to switch, switch to computer etc. The cross-over cable connects similar network devices like router to router, switch to switch etc.
def zipZapZop():
number = int(input("Enter the number: "))
dictionary = {3: "zip", 5: "zap", 7: "zop"}
amount = 0<em> #amount of non-divisible numbers by 3, 5 and 7</em>
<em> for key, value in dictionary.items():</em>
if(number%key == 0): <em>#key is the number</em>
print(value) <em>#value can be or zip, or zap, or zop</em>
else: amount += 1 #the number of "amount" increases every time, when the number is not divisible by 3, or 5, or 7
if(amount == 3): print(number) <em>#if the number is not by any of them, then we should print the number</em>
zipZapZop()