subject

Given a string on one line and an integer index on a second line, output the character of the string at that index. Ex: If the input is:

Fuzzy bear

4

the output is:

y

Note: Using a pre-defined string function, the solution can be just one line of code.

Given a string on one line and an integer index on a second line, output the character of the string at that index.

Ex: If the input is:

Fuzzy bear

4

the output is:

y

Note: Using a pre-defined string function, the solution can be just one line of code.

Given a string on one line and an integer index on a second line, output the character of the string at that index.

Ex: If the input is:

Fuzzy bear

4

the output is:

y

Note: Using a pre-defined string function, the solution can be just one line of code. Given a string on one line and an integer index on a second line, output the character of the string at that index.

Ex: If the input is:

Fuzzy bear

4

the output is:

y

.Given a string on one line and an integer index on a second line, output the character of the string at that index.

Ex: If the input is:

Fuzzy bear

4

the output is:

y

Note: Using a pre-defined string function, the solution can be just one line of code.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:30
Hi plz 11 ! when planning a table, what step comes first: "define the column headers" or "calculate the number of columns/rows"? a. calculate the number of columns/rows b. define the column headers
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
What is estimated time of arrival (eta)? a device that measures the acceleration (the rate of change of velocity) of an item and is used to track truck speeds or taxi cab speeds a gps technology adventure game that posts the longitude and latitude location for an item on the internet for users to find a north/south measurement of position the time of day of an expected arrival at a certain destination and is typically used for navigation applications
Answers: 3
question
Computers and Technology, 23.06.2019 18:30
Write a program that prints the day number of the year, given the date in the form month-day-year. for example, if the input is 1-1-2006, the day number is 1; if the input is 12-25-2006, the day number is 359. the program should check for a leap year. a year is a leap year if it is divisible by 4, but not divisible by 100. for example, 1992 and 2008 are divisible by 4, but not by 100. a year that is divisible by 100 is a leap year if it is also divisible by 400. for example, 1600 and 2000 are divisible by 400. however, 1800 is not a leap year because 1800 is not divisible by 400.
Answers: 3
question
Computers and Technology, 24.06.2019 12:50
What percentage of teens plays video games? a.97% b.100% c.74% d.50%
Answers: 1
You know the right answer?
Given a string on one line and an integer index on a second line, output the character of the string...
Questions
question
Chemistry, 23.09.2021 14:00
question
Mathematics, 23.09.2021 14:00
question
Mathematics, 23.09.2021 14:00
Questions on the website: 13722360