Questions: 5 831

Answers by our Experts: 5 728

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

Q1. Find the frequency of the given numbers 1 3 1 2 4 5.


Output:


1 2


2 1


3 1


4 1


5 1

Create a class named 'Rectangle' with two data members- length and

breadth and a function to calculate the area which is 'length*breadth'. The

class has three constructors which are :

1 - having no parameter - values of both length and breadth are assigned

zero.

2 - having two numbers as parameters - the two numbers are assigned as

length and breadth respectively.

3 - having one number as parameter - both length and breadth are

assigned that number.

Now, create objects of the 'Rectangle' class having none, one and two

parameters and print their areas.


  1. How you import Matplotlib and Seaborn? What are the common aliases used while importing these modules?
  2. What is the purpose of the magic command %matplotlib inline?
  3. How do you plot a line chart in Python? Illustrate with an example.

question number #176592 same quation but you are two test case pass but submission wrong ans

Special Characters

Write a program to count Vowels and Consonants in string.Input


The input will be a single line containing a string s.Output


The first line of output should contain no of Vowels in the given string

The second line of output should contain no of Consonants in the given stringExplanation


For example, if the given string is "Good Morning"

Vowels in the string "Good Morning" are "o, i" and their count is 4.

Remaining characters in the string are consonants their count is 7.

The First line of output is 4\nThe second line of output is 7.


Write a class named Car that uses the following data attributes:


swap letters in the string until vowel comes


your are given three strings as input. write a program to print first character of each string in python?


Highest Sum of Scores


How to select the rows from 20th index till 200th index(exclusive),and columns from 2nd index till 15th index value

give a number having 10 digits , convert it to a string following the below mentioned rules.rules for conversion . seperate set of numbers to four "-three" "-three" digits.use the following prefixes for successive digits. single numbers: just read them separately .two consecutive numbers: double. three consecutive numbers: triple.four consecutive numbers: quadruple in assignment expert in python

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS