[PYTHON] Learn about programming

I tried At Corder

I've always thought that I don't have many opportunities to write code, so I will write the code while solving the problem with AtCorder

I decided to post it on Qiita to make it a habit. I will write about knowledge that I did not know in the article

Implementation of a simple problem first

Handling of strings and characters

With python, you can easily access one character in a string In the example below, the first and last characters are output from the string.

sample1.py


str = 'abcdef'

print(str[0])  #a
print(str[-1])  #f

What to do from now on

I'm going to try AtCoder Grand Contest 043.

Recommended Posts

Learn about programming
Learn about Go slices
[Python] Learn about asynchronous programming and event loops
Paiza Python Primer 1 Learn Programming
I thought about how to learn programming for free.
What beginners think about programming in 2016
Programming to learn from books May 10
Websites to help you learn programming
Programming to learn from books May 7
Learn about logging using Python's logging module ①
About LangID
About CAGR
Memorandum / memo about programming learning / competitive programming site
About virtiofs
About Permission
About sklearn.preprocessing.Imputer
About gunicorn
About requirements.txt
About locale
About permissions
Learn Pyparsing
About Opencv ②
About axis = 0, axis = 1
About Opencv ③
About import
Poop programming
About numpy
About pip
About Linux
Learn math and English through programming (Part 1)
About numpy.newaxis
About endian
About Linux
About import
Graphic programming
About Opencv ①
About Linux
Learn dynamic programming in Python (A ~ E)
About Linux
About Linux ①
About cv2.imread
Learn more about AWS serverless web applications
About _ and __
Learn math and English by programming (Part 2)
Shell programming
About wxPython