Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to get a character from a string in python

a = "burger"
print(a[0])
Comment

PREVIOUS NEXT
Code Example
Python :: Python Renaming a Directory or a File 
Python :: how to make an array python 
Python :: python remove second occurrence of character in string 
Python :: python add columns to dataframe without changing the original 
Python :: python ceil method 
Python :: application automation python library 
Python :: python convert string to float 
Python :: pandas filter by dictionary 
Python :: Find Factors of a Number Using Function 
Python :: django strptime 
Python :: python using secrets 
Python :: Reverse an string Using Loop in Python 
Python :: adding new key in python 
Python :: python how to use rnage 
Python :: os.filename 
Python :: created by and updated by in django 
Python :: python loop 
Python :: python autoclick website 
Python :: find an item in a list python 
Python :: unicode error python 
Python :: lcd of 18 and 21 
Python :: qr scanner 
Python :: python TypeError: function takes positional arguments but were given 
Python :: pyqt5 hide button 
Python :: server in python 
Python :: python - login 
Python :: python call function that need args with decorator 
Python :: Label enconding code with sklearn 
Python :: python power of natural number 
Python :: pandas weighted average groupby 
ADD CONTENT
Topic
Content
Source link
Name
4+4 =