Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
How to digits for a string in python? (short code)example:
Home
Education
How to digits for a string in python? (short...
asked
Dec 10, 2021
in
Education
by
JackTerrance
How to digits for a string in python? (short code) example: app77 should give a digit count of 2 Select the correct answer from above options
computer-science-interview-questions
computer-science-questions
1
Answer
0
votes
answered
Dec 10, 2021
by
JackTerrance
Best answer
Explanation: write question correctly
Related questions
0
votes
Q: . Accept 8 digit number. Separate 8 digits into 4 parts. Display appropriate message in case ofnumber with less digits. Two digits starting from left in one variable.For example : Input: 31245690, a=31, b=24,c=56,d=90. Print which number is largest. Divide
. Accept 8 digit number. Separate 8 digits into 4 parts. Display appropriate message in case of number with less ... again as abcd Select the correct answer from above options...
asked
Nov 26, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write pseudo code to count occurrence of a given number in the list. For example, consider the following list, if user enters 5 then display “2 times” because “5” occurs 2 times in the list.
Write pseudo code to count occurrence of a given number in the list. For example, consider the following list, if ... in the list. Select the correct answer from above options...
asked
Nov 28, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: What will be the output of following python code?flowers =[‘rose’, ‘lotus’,”lily’ for x in flowers:print’flowers name:, x
What will be the output of following python code? flowers =[ rose', lotus', lily' for x in flowers: ... x plsss give write answer Select the correct answer from above options...
asked
Dec 19, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Q10) Write a python code/program for the following:
Q10) Write a python code/program for the following: (1) To Calculate and display selling price of an item by ... cost price and profit. Select the correct answer from above options...
asked
Nov 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Is it mandatory to include underscores in variables in Python? For example, can I put myVariable in place of my_variable?
Is it mandatory to include underscores in variables in Python? For example, can I put myVariable in place of my_variable? Select the correct answer from above options...
asked
Dec 19, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: How will you find whether a number isrepresented in Decimal/Binary/Octal orHexadecimal? *O Through baseO Through digits
How will you find whether a number is represented in Decimal/Binary/Octal or Hexadecimal? * O Through base O ... O Through numbers Select the correct answer from above options...
asked
Dec 31, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write html code to set the BGCOLOR as NAVY, header 1<H1> text“Text Example with size, colour and font face’’ as WHITE, text font
Write html code to set the BGCOLOR as NAVY, header 1 text Text Example with size, colour and font face'' as ... font face ARIAL . Select the correct answer from above options...
asked
Dec 29, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write python code to create a series object temp1 that stores temperature of 7days in it .take any random 7temperaturers?
write python code to create a series object temp1 that stores temperature of 7days in it .take any random 7temperaturers? Select the correct answer from above options...
asked
Dec 31, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write Python code
Write Python code Suppose you are a shop keeper, a customer purchased 5 items from your shop, now do the ... discount by costumer. Select the correct answer from above options...
asked
Dec 24, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: what will be the output of following python code print(‘ab12’.isalnum())
what will be the output of following python code print(‘ab12’.isalnum()) Select the correct answer from above options...
asked
Dec 24, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: b) What will be the output of the following Python code?
b) What will be the output of the following Python code? print(‘ab12’.isalnum()) Select the correct answer from above options...
asked
Dec 23, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: rewrite the following code in Python after removing all the syntax error underline is correction done in codea,b=2while a%b=0a+=10b+=2else:
rewrite the following code in Python after removing all the syntax error underline is correction done in code a,b=2 ... print( end') Select the correct answer from above options...
asked
Dec 22, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Q 5 Rewrite the following code in python after removing all the syntax errors. Underline
Q 5 Rewrite the following code in python after removing all the syntax errors. Underline each correction done in ... a logical operator Select the correct answer from above options...
asked
Dec 22, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: what will be the output of following python code?
what will be the output of following python code? flowers=[‘rose’,’lotus’,’lily’] Select the correct answer from above options...
asked
Dec 19, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: what will be the output of following python code?
what will be the output of following python code? flowers=[‘rose’,’lotus’,’lily’] Select the correct answer from above options...
asked
Dec 18, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
...