subject

Задача в том, чтобы считать весь текст и разбить его на части, каждая из которых по возможности не
превышала бы 1000 символов, при этом разбивать абзацы (строки) на
части нельзя.

Представим, что мы считали текст, который состоит из строк следующей
длины:
100
500
300
600
1100
50
Тогда мы должны были бы его разбить на 4 части:
1 из первых трех строк (100+500+300)
2 из четвертой строки (600)
3 из пятой строки (1100)
4 из шестой строки (50).

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:00
2.)how does a graphical user interface (gui) on a touchscreen interface differ from a gui on a desktop or laptop? a.)a finger or stylus is used instead of a pointer. b.) a magic wand is used instead of a pointer. c.)users speak commands instead of using a pointer. d.)users visualize commands instead of using a pointer.
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
A. in packet tracer, only the server-pt device can act as a server. desktop or laptop pcs cannot act as a server. based on your studies so far, explain the client-server model.
Answers: 2
question
Computers and Technology, 24.06.2019 13:10
Write a program that has a conversation with the user. the program must ask for both strings and numbers as input. the program must ask for at least 4 different inputs from the user. the program must reuse at least 3 inputs in what it displays on the screen. the program must perform some form of arithmetic operation on the numbers the user inputs. turn in your .py file as well as a screenshot of your program's output. include comments in your code to explain how it works an example program run might look like (have fun with this and be creative): ‘what is your name? ’ “josh” ‘, josh. what is your favorite color? ’ “green” ‘mine too. do you also like ice cream? ’ “no” ‘josh, how old are you? ’ “40” ‘ and how many siblings do you have? ’’ “3” ‘that means you are one of 4 kid(s). is green the favorite color of anyone else in your house? ’
Answers: 3
question
Computers and Technology, 24.06.2019 16:30
Pressing the backspace key deletes the text to the of the insertion point. the left or the right?
Answers: 1
You know the right answer?
Задача в том, чтобы считать весь текст и разбить его на части, каждая из которых по возможности не<...
Questions
question
Mathematics, 22.12.2020 19:10
question
Mathematics, 22.12.2020 19:10
question
Mathematics, 22.12.2020 19:10
question
Mathematics, 22.12.2020 19:10
Questions on the website: 13722363