How to extract values from a string or a sequence?

0 votes
how do I extract values from a string using index values?

name = 'EDUREKA'
Mar 6 in Python by Waseem
• 3,480 points
20 views

1 answer to this question.

0 votes

you could use the statements like

name[index value : ending index]

suppose you want the string 'u'

name[2] 

would get you 'u' in the output.

answered Mar 6 by Waseem
• 3,480 points

Related Questions In Python

0 votes
1 answer

How to extract or split characters from number strings using Pandas?

You could just simply use a conversion ...READ MORE

answered Sep 18, 2018 in Python by ariaholic
• 7,320 points
60 views
0 votes
1 answer

How to Parse values from a JSON file?

import json from pprint import pprint with open('data.json') as ...READ MORE

answered Oct 15, 2018 in Python by Priyaj
• 56,160 points
39 views
0 votes
0 answers

How to remove elements from a list that may or may not be present?

In case I want to remove some ...READ MORE

Jun 27 in Python by Nisa
• 1,090 points
13 views
0 votes
1 answer
0 votes
2 answers

How to check whether a string contains alphabets or number in Python?

By using isAlpha () to check whether ...READ MORE

answered Jul 13 in Python by Sheik janibasha
31 views
0 votes
1 answer

How to print first character of each word in upper case of a string in Python

You can use split() using space as ...READ MORE

answered Jun 1, 2018 in Python by george
• 200 points
1,390 views
0 votes
1 answer

How to get the size of a string in Python?

If you are talking about the length ...READ MORE

answered Jun 4, 2018 in Python by ariaholic
• 7,320 points
58 views
0 votes
1 answer

How to split a string into a list?

You can use the function  text.split() This should be ...READ MORE

answered Jul 30, 2018 in Python by Priyaj
• 56,160 points
34 views
0 votes
1 answer
0 votes
1 answer

how to install pandas in python

it is very basic to install pandas if ...READ MORE

answered Mar 6 in Python by Waseem
• 3,480 points
43 views