Air traffic landing statistics is another interesting data. A dataset is available
(https://data.world/sanfrancisco/fpux-q53t). However, there might be other dataset as well. Your
goal is to find for more dataset and then identify task (that generates some meaningful insight)
and prepare that dataset accordingly.
Instructions regarding the Projects:
a. Data collection
b. Data Preprocessing and Cleaning
c. Data Visualization
d. Data Statistics(Summary of statistics)
e. Hypothesis Testing
f. Prediction Task(Using Machine Learning Model)
Any kind of interesting facts about data(e.g., kind of different studies which can be done
using the collected data), innovative ideas, and/or research ideas (Manipulation or
enhancements of existing techniques for better results) will also be considered during
evaluation and will be highly appreciated.
Using a while loop: Write a program to print integers 1-50 and their cubes.
Combined right angle triangle:
Sample input: 4
1st half:
1 2 3 4
5 6 7
8 9
10
2nd half:
17 18 19 20
14 15 16
12 13
11
Output should be combined pattern:
Combined pattern:
1 2 3 4 17 18 19 20
5 6 7 14 15 16
8 9 12 13
10 11
Repeated Numbers
Eren wants to decode a number.After lots of trial and error, he finally figured out that the number is a count of repeated single-digit integers.
Write a program to help Eren print the decoded number given a string of integers N.
Input
The first line contains a string of integers N.
Output
The output contains a single integer representing count of repeated numbers in the input.
Explanation
For N = 212311 ,
1 and 2 are repeated.Therefore, the output is 2.
Sample Input1
212311
Sample Output1
2
Sample Input2
111
Sample Output2
1
Note: This site already given answer but it was not executin
answer:
N = input()
digits = [0]*10
for ch in N:
d = int(ch)
digits[d] += 1
cnt = 0
for d in digits:
if d > 1:
cnt += 1
print(cnt)
error:
Traceback (most recent call last):
File "main.py", line 5, in <module>
d = int(ch)
ValueError: invalid literal for int() with base 10: ' '
Akshay is given a list of n integers. Each number in the list appears exactly twice except one number.help Akshay by identifying the number which appeared once in the list.
College student leader elections have ended and results have been delivered to the principal.principal wants to know the candidates who got minimum and maximum votes in the election
Get grades
Sum of 2 numbers
reorder of string
eren wants to modify a string. the string can contain only positive integers. he wants to change the string in such a way thet the smaller numbers should appear before the bigger numbers.
given string write a program to help eren to modify the string.
you are given m*n matrix write a program to compute the parameter of matrix and print the result