Python Beginner Tutorial #5 - Loops

preview_player
Показать описание
In today's episode we are learning how to work with while loops and for loops!

Subscribe and Like for more free content!
Рекомендации по теме
Комментарии
Автор

Practical uses for infinite loops:
Analyzing a gene file in FASTA format. Each FASTA file is a different length and if you want a tool that can be used for different files, an infinite loop using readline and an if-statement of "if readline() = " ": break" will kill the program at the end of reading the file. this can be extended to spreadsheets/matrices as a quick and dirty ("inelegant", as my mentor would say) way to code.

weege.
Автор

half the course already and it was a really good idea to look at the whole basics of python again ^^

kibaofficial
Автор

Your videos are pure gold. Thank you for sharing with us ! Keep it up !🤜🏽🤛🏽

rafaelhurmuz
Автор

Ive been looking for someone like this i could learn alot of this

UpYa
Автор

Than you for your time making this video 👍

grahammccann
Автор

SIMPLE and PECISE explanation. Can you make videos on how to deveop pentesting tools because i am learning python and like you to explain and make pentest tools so i can develop on my own too.

deepakjindal
Автор

Hello i used this code to make a simple calculator but its giving me a syntax error highlighting the ' e ' . Please help


operator = input("Select your : ")

first_number = input("Enter first number: ")
second_number = input("Enter second number: ")

if operator == "addition":
print(float(first_number) + float(second_number))
elif operator == "subtraction":
print(float(first_number) - float(second_number))
elif operator == "multiplication":
print(float(first_number) * float(second_number))
elif operator == "division":
print(float(first_number) // float(second_number))
elif operator != "addition" or "subtraction" or "multiplication" or "division":
print("error")

stupidlyidiotic
Автор

Thank you, your videos are awesome, but you have 2 killer mistakes in your video, 1. You didn't do a zoom on the screen to be seen(lines of codes).
2. Your videos doesn't have like 480p resulotion, either you must select 1080p which needs very well Internet to load which sometimes impossible or 360p which can't be seen(lines of codes)
* That's why I can't follow your videos all the time due to my bad internet and your mistakes as well

Dizhwar
Автор

when i started the loop the program crashed 💀💀

leonid
welcome to shbcf.ru