Highlights
Level
array.py
Create a program called array.py that has a function that takes four integer arguments. Those arguments should be put into an Numpy array. The function will have two print statements. The first will print the type of the array you create (which should be
capCount.py
Create a program called capCount.py that has a function that takes in a string and prints the number of capital letters in the first line, then prints the sum of their indices in the second line.
The string “hEllo, World” would should look like this:
countVowels.py
Create a program called countVowels.py that has a function that takes in a string then prints the number of unique vowels in the string (regardless of it being upper or lower case).
For example:
The argument “swEet” should print 1
The argument “AaaaeeE” should print 2 digits.py
• Create a program, digits.py, that has a function that takes a number and prints the number of digits in the number. It should work for numbers with decimals, too.
gpacalc.py
• Use this exact dictionary to complete this assignment (Do NOT alter this dictionary):
• Create a program, gpacalc.py, that takes four letter grade arguments and prints out the corresponding GPA, to two decimals. Your program should work both in arguments are upper-case and lower-case. The values should be in two decimal places. Your program should print in the form:
“My GPA is x”Where x is equal to the GPA calculation quadratic.py
• Create a program, quadratic.py, that takes in three arguments that represent the a, b, and c values in the quadratic formula. The values should be in two decimal places. You do not need to account for imaginary values. Then print out both roots in the form:
“The solutions are x and y”
Where x and y correspond to the positive and negative roots, respectively.
Level 3
inrange.py
Create a program inrange.py that has a function that takes one integer argument. The function will print a list of all values between 5000 and 8000 that is divisible by (1) the integer argument, and (2) the argument + 4.
longest.pyCreate a program, longest.py, that has a function that takes one string argument and prints a sentence indicating the longest word in that string. If there is more than one word print only the first. Your print statement should read:
“The longest word is x”
Where x = the longest word. The word should be all lowercase.palindrome.py
Create a program, palindrome.py, that has a function that takes one string argument and prints a sentence indicating if the text is a palindrome. The function should consider only the alphanumeric characters in the string, and not depend on capitalization, punctuation, or whitespace.
Note: please copy and paste these versions into your code because the type of apostrophe can differ between Atom, Jupyter, command line, etc.
presidents.py
For this assignment, use the president_heights.csv file found in the Brightspace module. You *WILL NOT NEED TO SUBMIT THE president_heights.csv FILE TO CODEGRADE*You should use Pandas (import pandas as pd) for this assignment.Create a program, presidents.py, that takes two arguments. These arguments will correspond to the start and stop of a slice, respectively. It will slice the heights column in the president_heights.csv files.Then print off the average height, rounded to two decimals, of the selected presidents in the following form:
The average height of presidents number x to y is z
Where:
• x = start of the slice
• y = end of the slice
• z = calculated average
Create a program called randdf.py that has a function that takes two integer arguments and prints a Pandas dataframe. The two arguments will correspond to the number of rows and number of columns, respectively. The dataframe should be filled with random integers from 0 to 100. Set your random seed to 56.
Note: Use random from numpy. Otherwise, you might get a different result.
reallyrandom.py
This IT Assignment has been solved by our IT Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment Experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.