The answer is
A. your information is more accurate and useful
I hope it helps you. Please mark me brainliest answer.
<span>Knowledge can reside in email, voice mail, graphics, and unstructured documents as well as structured documents.
The answer is a. True
</span>
Answer:
import pandas as pd #importing pandas library as pd
import matplotlib.pyplot as plt #importing matplotlib.pyplot as plt
pop=pd.read_csv('nycHistPop.csv') #reading the csv file
borough=input('Enter borough name:') #asking the user for borough namme
# image=input('Enter image name:')
# pop['Fraction']=pop[borough]/pop['Total']
# pop.plot(x='Year', y='Fraction')
print("Minimum population",pop[borough].min()) #printing the minimum population of borough
print("Maximum population",pop[borough].max()) #printing the maximum population of borough
print("Average population",pop[borough].mean()) #printing the average population of borough
print("Standard deviation",pop[borough].std()) #printing the standard deviation of borough
# fig=plt.gcf()
# fig.savefig(image)
Explanation:
Answer:
Bullet
Explanation:
I've written a paragraph before. I should know!
Answer:
#HERE IS CODE IN PYTHON
#function to find length of shortest and longest string in the array
def fun(list2):
#find length of shortest string
mn=len(min(list2))
#find length of longest string
mx=len(max(list2))
#return both the value
return mn,mx
#array of strings
list2 = ['Ford', 'Volvo', 'BMW', 'MARUTI','TATA']
# call the function
mn,mx=fun(list2)
#print the result
print("shortest length is:",mn)
print("longest length is:",mx)
Explanation:
Create an array of strings.Call the function fun() with array as parameter. Here min() function will find the minimum string among all the strings of array and then len() function will find its length and assign to "mn". Similarly max() will find the largest string and then len() will find its length and assign to "mx". Function fun() will return "mn" & "mx".Then print the length of shortest and longest string.
Output:
shortest length is: 3
longest length is: 5