No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am trying to do a simulation for water pump such as if the user chooses on button, the water pump would start and vise versa. But, I have no idea on how to do this. So if anyone could help me, or give me some ideas. Thanks in advance. |
|
I am trying to construct a function called maxSquare. In which it takes a list of integers X and returns Xi with the maximum square value, without using loops. [U]Sample Input/Output[/U] >>> maxSquare([5, ‐7, 3]) -7 If you coul help me with this, I would appreciate it. Thanks in advance. |
|
I am trying to read from a txt file and counts the number of times each word appears. The problem is that it counts the EOL characters as well. I tried to use the rstrip, still it didn't do anything. So how can I handle these end-of-line characters? Please help. … |
|
Hello everyone, I am trying to build this simple chat program that consist of two classes. One is Server class and the other one is Clint class, but I have this problem with it. It does send and receive strings, but after the the second received string it does stop. … |
|
Could anyone explain to me this concept. For example, lets say that a system has 32-bit virtual address and the size of the page is 4096, and the virtual address is 19985. How did we reach to this outcome that address 19986 contains page number = 4, and Offset = … |