Questions: 5 290

Answers by our Experts: 5 288

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Create a program with two methods, one method for displaying your full name and the




other method displays your address.

Simply ATM

Requirements:


  • The must be a main function that will display the menu and will ask for user's choice and pin.


The menu is shown below:

1 – Balance Inquiry

2 – Withdraw

3 – Deposit

X – Exit


  • For each choice 1, 2 and 3, create an appropriate user-defined function for each task.
  • Provide validation for input.


Score will be updated before encoded in BBL for the following:

  • 40 points deduction if there is no user defined function created at all.
  • 20 points deduction if all user defined function are void functions and no arguments.


Input


1. data

Output


Enter·pin:·123489
1·–·Balance·Inquiry
2·–·Withdraw
3·–·Deposit··
X·–·Exit
Enter·your·choice:··X
Thank·you·for·banking·with·us!

Pi-thon

by CodeChum Admin

Instructions:

Print out the symbol of Pi and its equivalent using placeholders. Remember the syntax used when using multiple placeholders in a print() function. Tip: to print out the Pi symbol, we need to make use of its Unicode equivalent. Just put '\u03C0' as a substitute of a character placeholder in your print function.

Make use of the float placeholder in your print() function to output the value of Pi. Take note, however, that we only wish to output one decimal of the entire value of Pi, so recall on how to limit the outputted decimals in your code.

The outputted statement must be the same as the one in the sample output shown above.

An initial source code with blanks is provided to you. Just fill out the blanks.

Output

A single line containing the sample output in the description.

π·=·3.1


Write a python program that asks the user to type 10 integers and write the number of occurrence of the biggest value


1.How do you specify values for the X-axis of a line chart in python?

2.How do you specify labels for the axes of a chart in python?

3.How do you plot multiple line charts on the same axes in python?

1.How do you show a legend for a line chart with multiple lines in python?

2.How you set a title for a chart in python?



In a game a random sentence was chosen and the players were divided into different groups. Each group was given a word from the sentence, making sure that the number of groups formed is equal to number of words in sentence. Number of players in each group corresponds to number of letters in the word given to them.


They were made to sit in a line in the order of the letters in the word. When game starts, the player should rotate left such that when sat in a line., the word formed should start with a vowel. Find final sentence formed.


Note: if no vowels, player will not rotate



Input: A boy carrying bag slipped on floor



Output: A oyb arryingc agb ippedsl on oorfl



Need correct output sir.

Anil is given a sentence s. He tries to make this sentence special. A sentence can be mads special by swapping the character with the highest frequency with character having lowest frequency in the sentence. Help anil by transfering sentence into a special sentence.



Note: upper and lower case letters are different



* If there are multiple letters with same frequency, choose lower case letter that comes earliest in dictionary order.



* If letters like X and B have same frequency consider X



If x and b have same frequency consider b.



Input: python is a programming language



Output: python is e progremming lenguega




Need correct output sir.

2 6 9 8 5 2 4 6 8 1 8


Find mean, median, mode.

Part 3: KNN

  • Apply the kNN classifier to the Iris data (using 3 neighbors and unweighted distances).
  • Output the classification report and confusion matrix and submit a screenshot of the result (1 mark).
LATEST TUTORIALS
APPROVED BY CLIENTS