Posts

20 Question and Answer of Basic python Question 1 Level 1 Question: Write a program which will find all such numbers which are divisible by 7 but are not a multiple of 5, between 2000 and 3200 (both included). The numbers obtained should be printed in a comma-separated sequence on a single line. Hints: Consider use range(#begin, #end) method Solution: l=[] for i in range(2000, 3201):     if (i%7==0) and (i%5!=0):         l.append(str(i)) print ','.join(l) #----------------------------------------# #----------------------------------------# Question 2 Level 1 Question: Write a program which can compute the factorial of a given numbers. The results should be printed in a comma-separated sequence on a single line. Suppose the following input is supplied to the program: 8 Then, the output should be: 40320 Hints: In case of input data being supplied to the question, it should be assumed to be a console input. Solution: def fact(x):     if x ==

Statistics for Data Science

Definition of Statistics : The science of collecting, organizing, presenting, analyzing, and interpreting data to assist in making more effective decisions. Statistical analysis – used to manipulate summarize, and investigate data, so that useful decision making information results. TYPES OF STATISTICS: 1. Descriptive statistics – Methods of organizing, summarizing, and presenting data in an informative way. 2. Inferential statistics – The methods used to determine something about a population on the basis of a sample Population –The entire set of individuals or objects of interest or the measurements obtained from all individuals or objects of interest Sample – A portion, or part, of the population of interest 1. Descriptive statistics: Collect data e.g., Survey Present data e.g., Tables and graphs Summarize data e.g., Sample mean =  ΣXi/Xn 2. Inferential statistics Estimation e.g., Estimate the population mean weight using t

Whatsapp Live Location

Image
Blog by Abhimanyu kumar

Why You should not recharge Jio Diwali offer || Reason Exposed

Image
Blog by Abhimanyu kumar

Canon 1200D Photography || Overview and Manual Settings Tutorials Hindi

Image
Blog by Abhimanyu kumar

Audio Video Syncing Problem Solved- Handbrake [HINDI]

Image
Blog by Abhimanyu kumar