Комментарии:
Thank you. Hopefully I can remember this for my test tomorrow
Ответитьdef check_loan_eligibility(annual_income, credit_history, outstanding_debt, co_signer = False):
if(annual_income < 30000 or credit_history == False):
return False
elif(annual_income - outstanding_debt < 25000):
if(not co_signer):
return False
return True
Muda o X,Y,Z
def calculate_paint_needed(width,length,height):
# Lateral Area * 2 + Front and Back Areas
total_area = 2 * height * width + 2 * height * length
# Calculate the number of liters needed: 1 liter covers 7 square meters
liters_needed = total_area / 7
# Round to 1 decimal
rounded_liters = round(liters_needed, 1)
# Output string
result = f"{rounded_liters} liters of paint are needed"
return result
print(calculate_paint_needed(X,Y,Z))
COOL
ОтветитьGreat and quick explaination! Thanks! Jus subbed.
ОтветитьGenius
ОтветитьThank you for all your strip method videos, very helpful
ОтветитьI didn't realize this video was from 2015 when I watched it from my phone earlier. I'm on my computer now trying to work on this and so I'm guessing a lot has changed. I cannot get this work on any code editor but it works fine on Python IDLE. If I use single quotes it doesn't work but when I have text before and after the word with spaces on the left and right it works just fine. To anyone watching this in 2022 and have a better grasp of this please share your thoughts. Thanks!
ОтветитьGet rid of the background noise
ОтветитьThank you soo much for this wonderful explanation.. :)
Ответитьim still confused.... i get that it strips the things you put in but i still dont see how it specifically goes about doing that
ОтветитьSo when searching a string for characters to remove, it basically gives up searching left to right when it finds its first mismatch and then skips to the end of the string? Can you elaborate on its behaviour? THanks!
Ответитьmost clear
Ответитьthanks man !!!!!!!!!!!
ОтветитьLove the "strip schtring method". LOL
ОтветитьYour video sucks
ОтветитьThank you
بارك الله فيك
1. What if you want to get rid of all instances of a character, such as spaces, even when in the center?
2. What if you didn't want to strip off the n on the right but still wanted the n off from the left?
you are amazing
Ответитьhow can i delete all the characters in the second string from the first string?
ОтветитьYou helped my head from a bad headache thank you
ОтветитьThis is really helpful and clear for cases with parameter in it!
Ответитьright string stip buffering method
Ответитьi prefer it to be called a stripping method. Nevertheless, thank you! :)
Ответитьexact explaination that I want. Thanks
ОтветитьYou are the only one that who explain how it actucally works!, i don't understand why someone would intreduce function without explaining how it really works. thank you very much mister.
Ответитьsay ss rather than shriptshring
ОтветитьThis method is a life saver
Ответитьshtripshtring
ОтветитьYou saved my day in 10 Seconds
ОтветитьWhat the fuck.....its too boring
Ответитьthanks :)
Ответитьim using a code where it takes strings out of a .txt file, where do i put the strip command to remove the \n?
Ответить