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

pager code:

input 1:

abde

output:

12(i.e 1+2+4+5)

input 2:

XYZ:

outpu:75


Write a python program to calculate the average of five numbers passed by users using function.


Write a program to gets 10 numbers from the user and counts how many of those numbers are greater than 10.


write a program to print the product of given two numbers.


You can use a minus sign to make a negative number like -2. What happens for each of the following and why?


>>> 2++2


>>> 2--2


>>> 2+-2


>>> 2-+2

What happens if you have two values with no operator and a space in between them and why?

Shivam is the youngest programmer in the world, he is just 12 years old. Shivam is learning programming and today he is writing his first program.



The task is very simple: given two integers A and B, write a program to add these two numbers and output it.

Compare the two strings is equal or not....



The "*" and "?" Can treated as a replace for characters



?=is used as replace for 1 character



* = It can be as replace for 1 to length of the character and can also used as a empty string



1st question:



3



Maggi Ma*i



Maggi Ma?gi



Maggi M*?



Answer:



True



True



True



2nd question:



Tree tr*



Plant Pl**



Dance D*ance



Answer:



False



True



True





Write a programe to check the overlapping of one string's suffix with the prefix of another string

If you are trying to print a string, what happens if you leave out one of the quotation marks or both and why?

LATEST TUTORIALS
APPROVED BY CLIENTS