How to use loops and conditionals in python?

preview_player
Показать описание
#python #coding #beginners #school #computerscience #chemistry
Learn about python's control flow and conditionals. In this video you will learn about if, else statements, how to write nested if statements, using multiple conditions in one if statement, while loops and how and when to use while loops, break statement, continue statement, try and except statements in python, for loop basics, looping over strings, lists, and dictionaries, enumerate function, and lastly list and dictionary comprehension. You will also learn some tips and tricks to master the art of coding in Python. Learning these basics will give you the foundation to handle complex problems and #automate some of the tasks at hand.

Time stamps:

00:00 Intro
00:43 if & else statement
02:50 nested if
03:25 elif statement
04:58 multiple conditions
07:35 while loop
09:41 stopping while loops
10:23 break statement
13:56 try & except
16:18 continue statement
17:40 pass
18:45 for loop
21:30 loop over strings
22:43 loop over dictionary
24:30 loop over multi-dimensional list
26:49 enumerate
27:45 list comprehension
32:36 dictionary comprehension

Hi there! Welcome to ChemCoder. This channel is dedicated to everyone interested in learning how to code and apply these skills to advance your careers in chemistry or in general engineering. We also talk about what it takes to be in grad school and life beyond your degree. We help answer questions like how to conduct research in the field of computational chemistry or computational engineering. If this is something that you are interested in or something you are pursuing, please consider showing your support by SUBSCRIBING to this channel!
And if you learned from this video, please leave us a like since we all love 'likes' :)
Рекомендации по теме
Комментарии
Автор

Time stamps are in the video description! Feel free to explore as you wish. While you're at it, hit that like button for the algorithm and I will add more content in this playlist just for you! So why not subscribe to learn more?
If you have already... Thank you so much!

ChemCoder