Python with Progate (dictionary, while statement, break, continue)

python progate learning course Ⅱ

dictionary

while statement

numbers = [1,3,5,7,9] for number in numbers: print(number) if number == 5: break

console 1 3 5

continue Unlike break, only the processing of the week is skipped

numbers = [1,2,3,4] for number in numbers: if number % 2 == 0: continue print(number)

console 1 3

Recommended Posts

Python with Progate (dictionary, while statement, break, continue)
[Introduction to Udemy Python3 + Application] 39. while statement, continue statement and break statement
Python list, for statement, dictionary
Addition with Python if statement
[Python] What is a with statement?
Python Exercise for Beginners # 2 [for Statement / While Statement]
Replace dictionary value with Python> update ()
[Introduction to Udemy Python3 + Application] 47. Process the dictionary with a for statement
Python dictionary
Progate Python (2)
[Introduction to Python] What is the method of repeating with the continue statement?
[Python] dictionary
Python dictionary
while statement
[Introduction to Udemy Python3 + Application] 40.while else statement
Generate an insert statement from CSV with Python.
Python if statement
FizzBuzz with Python3
Scraping with Python
Statistics with python
Scraping with Python
Python with Go
Twilio with Python
[Python] Dictionary (hash)
Python basics: dictionary
Integrate with Python
Play with 2016-Python
AES256 with python
Tested with Python
python starts with ()
with syntax (Python)
Python exec statement
Bingo with python
Zundokokiyoshi with python
[Python] if statement
Python assert statement
Excel with Python
Microcomputer with Python
Cast with python
Try translating with Python while maintaining the PDF layout
Quick web scraping with Python (while supporting JavaScript loading)
A Java programmer studied Python. (for, if, while statement)