progate Python learning memo (updated from time to time)

I used to use Python, Numpy, Pandas, and other libraries in practice, I knew that my knowledge was missing, so This time I decided to review from 1 with Progate.

I know the advanced knowledge of the progate learning course It is really knowledge of toothlessness, such as missing some parts of the beginner's class.

I will make a note of the missing part. (Updated from time to time)


dictionary

script01.py




#Chara = {'King':'Takato', 'Wonderer':'Riichiro', 'Bishop':'Madoka', 'Traitor':'Toranosuke', 'Philosopher':'Syuya'}

#Make long dictionaries easier to read
Chara = {'King':'Takato',
         'Wonderer':'Riichiro',
         'Bishop':'Madoka',
         'Traitor':'Toranosuke',
         'Philosopher':'Shuya'}

print('The target of capture is the following 5 people.')
for target in Chara :
   print (Chara[target])

#Add dictionary element
Chara['Journalist'] = 'Nakaba'
print(Chara)
print('From Extime released in 2015' + Chara['Journalist'] + 'Has been added to the target of capture.')


** Skip loop processing continue **

script02.py


numbers = [1, 2, 3, 4, 5, 6]
for number in numbers :
   if number % 3 == 0 ;   #When the variable number is a multiple of 3
      continue            #Skip loop processing
   print (number)

** About my career **

Have you been programming for 1 to 6 years? ?? When I was working as an OA office worker You can write a batch script of Windows to automate the work, I used to organize data for numerical calculations in Excel VBA. I needed a shell to run a math program Put Cygwin in Windows and write shellcode Rewrite the fortran code. (At that time, I didn't know the difference between 77 and 90!) Since I was dealing with the database on the software I know how SQL works, but I don't know the code. It's a really strange career.

Recommended Posts

progate Python learning memo (updated from time to time)
Tensorflow memo [updated from time to time]
Machine learning python code summary (updated from time to time)
Private Python handbook (updated from time to time)
[Note] AI / machine learning / python related websites [updated from time to time]
Anaconda updated from 4.2.0 to 4.3.0 (python3.5 updated to python3.6)
vtkXMLUnstructuredGridReader Summary (updated from time to time)
vtkOpenFOAMReader Summary (Updated from time to time)
Engineer vocabulary (updated from time to time)
Python (from first time to execution)
Updated to Python 2.7.9
vtkClipPolyData / DataSet Summary (Updated from time to time)
[Updated from time to time] PostmarketOS related notes
Python class (Python learning memo ⑦)
Python module (Python learning memo ④)
[Updated from time to time] LetCode algorithm and library
Changes from Python 2 to Python 3.0
OpenFOAM post-processing cheat sheet (updated from time to time)
Useful help sites, etc. (updated from time to time)
Apache settings, log confirmation, etc. (* Updated from time to time)
Python learning memo for machine learning by Chainer from Chapter 2
[Updated from time to time] Review of Let Code NumPy
I read the Chainer reference (updated from time to time)
Python exception handling (Python learning memo ⑥)
Python execution time measurement memo
Cheating from PHP to Python
Switch from python2.7 to python3.6 (centos7)
Connect to sqlite from python
[Updated from time to time] Python memos often used for data analysis [N division, etc.]
(Updated from time to time) Storage location of various VS Code configuration files Memorandum memo
[Updated from time to time] Summary of design patterns in Java
Call Matlab from Python to optimize
Python control syntax, functions (Python learning memo ②)
Deep Learning / Deep Learning from Zero 2 Chapter 4 Memo
Deep Learning / Deep Learning from Zero Chapter 3 Memo
Deep Learning / Deep Learning from Zero 2 Chapter 5 Memo
Create folders from '01' to '12' with python
Post from python to facebook timeline
Input / output with Python (Python learning memo ⑤)
[Lambda] [Python] Post to Twitter from Lambda!
Connect to utf8mb4 database from python
Post images from Python to Tumblr
Deep Learning / Deep Learning from Zero 2 Chapter 7 Memo
Deep Learning / Deep Learning from Zero 2 Chapter 8 Memo
Interval scheduling learning memo ~ by python ~
Deep Learning / Deep Learning from Zero Chapter 5 Memo
Deep Learning / Deep Learning from Zero Chapter 4 Memo
How to access wikipedia from python
Python to switch from another language
Deep Learning / Deep Learning from Zero 2 Chapter 3 Memo
[Nanonets] How to post Memo [Python]
"Scraping & machine learning with Python" Learning memo
Deep Learning / Deep Learning from Zero 2 Chapter 6 Memo
Did not change from Python 2 to 3
Update Python on Mac from 2 to 3
Python learning memo for machine learning by Chainer Chapter 10 Introduction to Cupy
I read "Reinforcement Learning with Python: From Introduction to Practice" Chapter 1
Python learning memo for machine learning by Chainer Chapter 9 Introduction to scikit-learn
git / python> git log analysis (v0.1, v0.2)> Implementation to estimate work time from git log
I read "Reinforcement Learning with Python: From Introduction to Practice" Chapter 2
Summary of folders where Ruby, Python, PostgreSQL, etc. are installed on macOS (updated from time to time)