Answer:
The solution code is written in Python
- def largerThanN(myList, n):
- output = ""
-
- for x in myList:
- if(x > n):
- output += str(x) + " "
-
- print(output)
-
- l = [5, 12, 11, 4, 56, 32]
- n = 15
- largerThanN(l, n)
Explanation:
Firstly, create a function largerThanN that accepts two arguments, a list (myList) and a number (n) (Line 1).
Next, create a output variable to hold the string of numbers in the list that are greater than the input number n (Line 2).
Create a for loop to traverse through each number in the list and then check if the current x is bigger than n. If so concatenate the x to output string along with a single space " " (Line 4 -6)
After the loop, print the output string (Line 8)
We test the function by using a sample list and n = 15 (Line 10 - 12). The program will display 56 32 .
def writel(length, file_name = ""):
if file_name!="":
f = open(file_name, "w")
f.write(str(length))
f.close()
else:
print(str(length))
writel(3, "FileName.txt")
I hope this helps!
Remember, you must have the file created prior to running this program. Best of luck.
Answer:
MS Word, MS Excel, MS PowerPoint, Adobe Photoshop, Adobe Reader
Explanation:
Answer:
Communication path basically define the path in which the information and messages can be exchange by using the efficient communication path.
There are simple formula for calculating the total number of communication channel that is :

Where, n is the number of stack holder.
Now, the maximum number of communication paths for a team of twenty people can be calculated as:
n=20
=\frac{20(20-1)}{2} = 190
Therefore, 190 is the total number of communication path.
There are various connectivity technologies that we use to connect. They are Ethernet, Internet (Wireless Connection), Bluetooth, Wi-Fi and Cellular.
Explanation:
- Ethernet is the direct connection among the devices that are located close to each other in a building. This is used for small scale enterprises.
- Wi-Fi lets wireless connections among multiple devices without any physical connection. And it is most extensively used in most of the corporate companies.
- Bluetooth is used to transfer the data from one device to the other when they are near.
- Cellular is used to connect people across the globe. And it is used widely in every enterprises.