[Python] Start diary from today Atcorder ABC058-B

I will start my diary from today!

For dissemination of learning and memorandum for myself. I will do my best to make it a useful diary for other people.

For the time being, the goal is to become AtCorder light blue within 3 months! I will write down the past questions that I learned.

Click here for the first question to commemorate.

https://atcoder.jp/contests/abc058/tasks/abc058_b

For the time being, I was able to get AC on my own, but since I wrote the code, something was dirty. .. ..

image.png

Check out the smart answers here. image.png

If there are more odd-numbered characters than even-numbered characters, insert whitespace characters in advance. Also get to learn about the optional argument "end". Since the default is a newline character, I learned that you can concatenate and output characters even if you use a for statement by explicitly setting "".

I want to cure the habit of using only the list. .. ..

Recommended Posts

[Python] Start diary from today Atcorder ABC058-B
Start python
I tried Python! ] I graduated today from "What is Python! Python!"!
Start using Python
Python quick start
sql from python
[Python] Start studying
python challenge diary ①
Let's start Python from Excel. I don't use VBA.
AtCoder I don't know diary_4 ABC081B, 087B, 083B (from ABS)
Working with Azure CosmosDB from Python (quick start digging)
[Python] Start a batch file from Python and pass variables.
Use thingsspeak from python
Touch MySQL from Python 3
Operate Filemaker from Python
Use fluentd from python
Access bitcoind from python
Changes from Python 3.0 to Python 3.5
Changes from Python 2 to Python 3.0
Python from or import
Use MySQL from Python
Run python from excel
Competitive programming diary python 20201213
Install python from source
Operate neutron from Python!
Competitive programming diary python 20201220
Operate LXC from Python
Force Python from Fortran
Use BigQuery from python.
Execute command from python
Competitive programming diary python
Start today with Django
[Python] Read From Stdin
Use mecab-ipadic-neologd from python
I want to start a lot of processes from python