If you have 333 digits to number the pages of a book, how many pages can you number?

AnswerBot
2y

333 digits can number 166 pages of a book.

  • Each page number takes up 2 digits.

  • The first page is numbered 01.

  • The last page that can be numbered is 166.

  • The remaining 2 digits are used for the cover page ...read more

Karthick Parthiban
1y

n=int(input("Enter digits : "))

str1=''

count=1

while count<=n:

if len(str(count))==1 and len(str1)<n:

str1=str1+'0'+str(count)

elif len(str1)<n:

str1=str1+str(count)

else:

break

count=count+1

print(len(s...read more

Karthick Parthiban
1y

By using python..

str1=''

count=0

while count<=333:

count=count+1

if len(str1)<333:

str1=str1+str(count)

else:

break

print(len(str1))

print(count-1) # you need to minus 1 count since you are using <333 ,so...read more

Simon
1y
correct answer
Syed Yazdani
1y

The answer is 333only

Because each page contain 1digit

Like 0 to 9

The it's count should be 10

As the same the the answer will be 333itself only

Jeevan Anaparthy
3y

Number of pages we can number is 10^333 -1

Ankita Sharma
5y

1 digit numbers from 1-9=9

2 digit numbers from 10-99=90

as of now:

total digits =(9*1)+(90*2)=9+180=189digits

Remaining DIgits=333-189=144

3 digit Numbers that can be used:

100-147 page number

i.e.

t...read more

Naveen Kumaran
5y

334

Add answer anonymously...

EXL Service Business Analyst interview questions & answers

A Business Analyst was asked 5d agoQ. Write a Python code to detect outliers using the IQR method.
A Business Analyst was asked 7mo agoQ. What are the different types of SQL joins, and what are their differences?
A Business Analyst was asked 23 Mar 2024Q. Explain logistic regression.

Popular interview questions of Business Analyst

A Business Analyst was asked 5d agoQ1. Write a Python code to detect outliers using the IQR method.
A Business Analyst was asked 7mo agoQ2. What are the different types of SQL joins, and what are their differences?
A Business Analyst was asked 23 Mar 2024Q3. Explain logistic regression.

Top HR questions asked in EXL Service Business Analyst

A Business Analyst was asked 5mo agoQ1. What makes you a suitable candidate, and why EXL?
A Business Analyst was asked 24 Aug 2015Q2. Why is your CGPA lower than 8?
A Business Analyst was asked 24 Aug 2015Q3. Why are you interested in a business analyst role, given your engineering backgr...read more
EXL Service Business Analyst Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter