I learned Python with a beautiful girl at Paiza # 02

I can do her with Python and Paiza's Learn beautiful girl and Python service So it's a miscellaneous impression. This article is introductory part 2. Please see here for 1.

Introductory 2 (about 60 minutes)

chapter1: Conditional branching by IF statement (4:44)

if condition:
Action when the conditions are met
Action when the condition is not met


chapter2: Let's combine multiple conditions (3:46)

if condition 1:
elif condition 2:


chapter3: Let's conditional branch with comparison operator (4:54)

And <appear as operators other than * ==


chapter4: Let's make a fortune (5:04)


chapter5: Reproduce the critical hit of RPG (2:46)


chapter6: Let's find the year of Heisei from the Christian era (4:19)


Rough impression

This concludes the currently published introduction to Python. As expected, the level is higher than introductory 1, but it still feels like a rudimentary beginning. It feels like a polite explanation of "professional" as "Python as a programming language". However, as the syntax is only if, I thought it would be nice if for / while came out at least.

Recommended Posts

I learned Python with a beautiful girl at Paiza # 02
I learned Python with a beautiful girl at Paiza # 01
I made a fortune with Python.
I made a daemon with Python
I made a character counter with Python
I drew a heatmap with seaborn [Python]
I tried a functional language with Python
What I did with a Python array
I made a Hex map with Python
I made a roguelike game with Python
I made a simple blackjack with Python
I made a configuration file with Python
I made a neuron simulator with Python
I made a competitive programming glossary with Python
I made a weather forecast bot-like with Python.
I made a GUI application with Python + PyQt5
I made a Twitter fujoshi blocker with Python ①
I want to make a game with Python
[Python] I made a Youtube Downloader with Tkinter.
I want to write to a file with Python
I made a bin picking game with Python
I made a Mattermost bot with Python (+ Flask)
I made a Twitter BOT with GAE (python) (with a reference)
I made a Christmas tree lighting game with Python
I tried to draw a route map with Python
I made a net news notification app with Python
This time I learned Python I and II at Progate.
I made a Python3 environment on Ubuntu with direnv.
I want to work with a robot in python.
I made a LINE BOT with Python and Heroku
I tried to automatically generate a password with Python3
A memo that I touched the Datastore with python
[Python, ObsPy] I wrote a beach ball with Matplotlib + ObsPy
[Python] Delete by specifying a tag with Beautiful Soup
I want to run a quantum computer with Python
I tried fp-growth with python
I tried scraping with Python
I made blackjack with python!
Make a fortune with Python
I made a python text
I tried gRPC with Python
I tried scraping with python
I made blackjack with Python.
Create a directory with python
What I learned in Python
I learned Python basic grammar
I made wordcloud with Python.
I replaced the Windows PowerShell cookbook with a python script.
I made a simple typing game with tkinter in Python
I made a package to filter time series with python
I wrote a program quickly to study DI with Python ①
I made a simple book application with python + Flask ~ Introduction ~
I made a puzzle game (like) with Tkinter in Python
[Visualization] I want to draw a beautiful graph with Plotly
I tried a stochastic simulation of a bingo game with Python
This time I learned python III and IV with Prorate
[5th] I tried to make a certain authenticator-like tool with python
[Python] What is a with statement?
I made a simple circuit with Python (AND, OR, NOR, etc.)
Try scraping with Python + Beautiful Soup
Solve ABC163 A ~ C with Python