Telegram Group & Telegram Channel
4. String Basics

>>> s='python_codes'
>>> s
'python_codes'

>>> len(s)
12

>>> s[0]
'p'

>>> s[1:]
'ython_codes'

>>> s
'python_codes'

>>> s[:7]
'python_'

>>> s[:]
'python_codes'

>>> s[::1]
'python_codes'

>>> s[::-1]
'sedoc_nohtyp'

>>> var = "a"
>>> var*10
'aaaaaaaaaa'

>>> s=s+" python channel"
>>> s
'python_codes python channel'

>>> s.upper()
'PYTHON_CODES PYTHON CHANNEL'

>>> s.lower()
'python_codes python channel'

>>> s.split('codes')
['python_', ' python channel']

@python_codes



tg-me.com/python_codes/7
Create:
Last Update:

4. String Basics

>>> s='python_codes'
>>> s
'python_codes'

>>> len(s)
12

>>> s[0]
'p'

>>> s[1:]
'ython_codes'

>>> s
'python_codes'

>>> s[:7]
'python_'

>>> s[:]
'python_codes'

>>> s[::1]
'python_codes'

>>> s[::-1]
'sedoc_nohtyp'

>>> var = "a"
>>> var*10
'aaaaaaaaaa'

>>> s=s+" python channel"
>>> s
'python_codes python channel'

>>> s.upper()
'PYTHON_CODES PYTHON CHANNEL'

>>> s.lower()
'python_codes python channel'

>>> s.split('codes')
['python_', ' python channel']

@python_codes

BY Python Codes


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/python_codes/7

View MORE
Open in Telegram


Python Codes Telegram | DID YOU KNOW?

Date: |

If riding a bucking bronco is your idea of fun, you’re going to love what the stock market has in store. Consider this past week’s ride a preview.The week’s action didn’t look like much, if you didn’t know better. The Dow Jones Industrial Average rose 213.12 points or 0.6%, while the S&P 500 advanced 0.5%, and the Nasdaq Composite ended little changed.

The seemingly negative pandemic effects and resource/product shortages are encouraging and allowing organizations to innovate and change.The news of cash-rich organizations getting ready for the post-Covid growth economy is a sign of more than capital spending plans. Cash provides a cushion for risk-taking and a tool for growth.

Python Codes from no


Telegram Python Codes
FROM USA