Комментарии:
I feel like this is going to save me a bunch of copying and pasting 😅
Ответитьاین همه وقت کجا بودید؟🙂
Ответитьbless you my man, bless you. Top tier crash courses out there
ОтветитьHi Mosh,
I have a list output from my python code that I extract from shareppoint, I stored that list in one variable but when I run for loop, it give me error string is not iterable, how can I loop through string which is in string format ?
Really easy to understand
Ответитьwhy for the final example can't you just write
for x in range(2, 10, 2):
print(x)
print("We have 4 odd numbers")
Is it because if the interval was something like (2, 198534, 2) you could write the wrong amount
even_number = 0
for i in range(1, 10):
if i % 2 == 0:
print (i)
even_number += 1
print(" we have", even_number, "even numbers")
farsi yad midin ?
ОтветитьWhat IDE are you using?
ОтветитьThank you mosh. I know it’s simple and it’s perfect 😊
ОтветитьThank you for the simple and quick instructions, you've been a great help!!
ОтветитьFor loops got me stumped but I'm gonna just chug along fuck it
Ответитьcount = 0
for x in range (2,10,2):
print(x)
count +=1
print("We have {count} even numbers")
count = 0
for x in range (1,10):
if x % 2 == 0:
count += 1
print(x)
print("We have " + str(count) + " even numbers")
Mosh, I have questions using data ,I was using the liberty basic and truebasic programming language and find out they were slow when using a list of combinations lottery, it take about 3 hours or more. When I used phyton, I was shocked at how fast it was .My difficulty is what function to use data and how use ?
Ответитьfor even in range(1,10):
if even%2==0:
print(even)
print('we have 4 even numbers')
for x in range(1, 10):
if x%2==0:
print(x)
thanks for your clear explanation
ОтветитьI was doing so great up to this point, I don't understand 😭😢
ОтветитьI’ve looked everywhere online and I can’t find anything that explains for loops or while loops well enough for me to understand. Why didn’t the string “Attempt” print out three times or the word successful? Also what does the word number do what’s its purpose? Where did you get the word from? Why that word?
ОтветитьLove the example you showed with the email. Made it easier to understand
Ответитьmanarite
ОтветитьI cannot recomment Mosh's tutorials enough. Easy to follow, helpful and friendly style.
ОтветитьWow!! This is awesome. I'm in a bootcamp and this was confusing. Thanks for posting this. I hipe you consider posting more recent tutorials.
ОтветитьSo the value of count updates globally because for is not a function?
ОтветитьIt’s not about the code, it’s about sending a message!! 😂😂
ОтветитьCoding is fun and all but its a harsh reminder im gonna lose all my hair when watching mosh lol
Ответитьi believe you can use this to make automatic code generators but it would be really rare
Ответитьwhich tool are you using for python.
ОтветитьWhen I input the count
It says "'name "count' is not defined''
thanks so much, i have an exam.
ОтветитьI’m disappointed as I couldn’t learn a thing of this
ОтветитьThanks, Mosh - Your lectures are simplified and easy to follow.
Ответитьmosh is genius
ОтветитьDude, You made my Basics Very Strong
print("Thank You Mosh")
what is this program that is being used? I use jupyter, but I like the layout of this program.
ОтветитьHow would you count characters in words?😃
ОтветитьThank you
ОтветитьAnybody plz tell..in which app this codings r done???
ОтветитьAUGLA BULAGJVHBHjbuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuugyuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
ОтветитьASDFGHJJJJJJYHNVHJIVFRTYFGH
CFRTYFGHVFTYYHBNJKIIKMK,KIOYHJUIUJHNB
How did you get this nice-looking Output window? I am looking for it for so long and the only one I have got is a terminal window with all of the paths, ending messages which are distracting. I would be grateful for telling me how to open this Output view.
ОтветитьHi Mosh! You're the best Tutor.
I am looking forward to learning more from you.
I want to learn python for data analysis, web development, and game development.
I welcome all the challenges, but I am passionate about becoming a Pythonista. Whatever it takes, Mosh, as long as you're my tutor, I know I'll make a great programmer like you.😘🤩
Thank you for explaining for loops very clearly, idk I've been struggling to understand them and this helped so much! Sub earned!
Ответить