vertopal.com_02 - Python Strings - Execrise
vertopal.com_02 - Python Strings - Execrise
Hello Innominion,
• Some other topics are required to solve some questions. don't panic.
Strings - Execrise
text = """The University of Hawaii began using radio to send digital
information as early as 1971,using ALOHAnet.
Friedhelm Hillebrand conceptualised SMS in 1984 while working for
Deutsche Telekom. Sitting at a typewriter at home,
Hillebrand typed out random sentences and counted every letter,
number, punctuation, and space.
Almost every time, the messages contained fewer than 160 characters,
thus giving the basis for the
limit one could type via text messaging. With Bernard Ghillebaert of
France Télécom, he developed
a proposal for the GSM (Groupe Spécial Mobile) meeting in February
1985 in Oslo.
The first technical solution evolved in a GSM subgroup under the
leadership of Finn Trosby.
It was further developed under the leadership of Kevin Holley and Ian
Harris (see Short Message Service).
SMS forms an integral part of SS7 (Signalling System No. 7). Under
SS7, it is a "state" with a 160 character data,
coded in the ITU-T "T.56" text format, that has a "sequence lead in"
to determine different language codes,
and may have special character codes that permits, for example,
sending simple graphs as text.
This was part of ISDN (Integrated Services Digital Network) and since
GSM is based on this,
made its way to the mobile phone. Messages could be sent and received
on ISDN phones,
and these can send SMS to any GSM phone. The possibility of doing
something is one thing,
implementing it another, but systems existed from 1988 that sent SMS
messages to mobile phones (compare ND-NOTIS)."""
# CODE HERE
1507
# CODE HERE
244
# CODE HERE
174
1.4022988505747127
# CODE HERE
14
92
Question: Append " Innomatics Reseach Labs" after first 10 words in the text
# CODE HERE
# CODE HERE
'The University'
# CODE HERE
# CODE HERE
• o
hint - You need to use for loop for this
# CODE HERE
• n
hint - You need to use for loop for this
# CODE HERE
Question: Extract first 10 words of text and Capitalize first letter of each word
# CODE HERE
# CODE HERE
The Innomatics of Hawaii began using radio to send digital information
as early as 1971,using ALOHAnet.
Friedhelm Hillebrand conceptualised SMS in 1984 while working for
Deutsche Telekom. Sitting at a typewriter at home,
Hillebrand typed out random sentences and counted every letter,
number, punctuation, and space.
Almost every time, the messages contained fewer than 160 characters,
thus giving the basis for the
limit one could type via text messaging. With Bernard Ghillebaert of
France Télécom, he developed
a proposal for the GSM (Groupe Spécial Mobile) meeting in February
1985 in Oslo.
The first technical solution evolved in a GSM subgroup under the
leadership of Finn Trosby.
It was further developed under the leadership of Kevin Holley and Ian
Harris (see Short Message Service).
SMS forms an integral part of SS7 (Signalling System No. 7). Under
SS7, it is a "state" with a 160 character data,
coded in the ITU-T "T.56" text format, that has a "sequence lead in"
to determine different language codes,
and may have special character codes that permits, for example,
sending simple graphs as text.
This was part of ISDN (Integrated Services Digital Network) and since
GSM is based on this,
made its way to the mobile phone. Messages could be sent and received
on ISDN phones,
and these can send SMS to any GSM phone. The possibility of doing
something is one thing,
implementing it another, but systems existed from 1988 that sent SMS
messages to mobile phones (compare ND-NOTIS).
Question: Convert the "text" into sentances and store those into one variable called
"sentance"
# CODE HERE
Question:
1. From the above sentace print the first word from each sentance
Helloworld