Views : 16,807,527
Genre: Education
Date of upload: Sep 16, 2020 ^^
Rating : 4.957 (4,380/404,981 LTDR)
RYD date created : 2022-04-09T21:29:32.004597Z
See in json
Top Comments of this video!! :3
I'm learning because i want a better job than driving a school bus.
For many who keep asking, I did infact become a computer programmer. I started here learning Python. Then I moved to others like Java and c sharp and plus plus to name a few. I even learned Fortran because of a job needed it(very useful but not at the same time, lol). I've turned a page from working with a company and decided to design games a long time dream of mine. I hope wholeheartedly that this video helps all of you the same way it did for me. Thank you all for the best wishes. They've helped me push along even when I felt I could go any further. You all are the best!
23K |
Thank you so much for the help Mosh!
Excercise 1:
print ("Check In")
print("Data=")
first_name = "John Smith"
age = 20
new_patient = True
print("Name:",first_name)
print("Age:",age,"Years Old")
print("New Patient?","Yes")
Excercise 2:
first = input("First: ")
second = input("Second: ")
sum = float(first) + float(second)
strsum = str(sum)
print("Sum: " + strsum)
if statements:
temperature = 25
if temperature > 30:
print("It's a Hot Day")
print("Drink plenty of water")
elif temperature > 20: # (20, 30]
print("It's a Nice Day")
elif temperature > 10: # (10, 20]
print("It's a bit cold")
else:
print("It's Cold")
print("Done")
Excercise 3:
weight = input("Weight: ")
unit = input ("(K)g or (L)bs: ")
if unit.upper() == "L":
weightk = float(weight)/2.205
print("Weight in Kg: " + str(int(weightk)) + " kg") # (lbs to kg]
elif unit.upper() == "K":
weightl = float(weight)*2.205
print("Weigth in Lbs: " + str(int(weightl))+ " lbs") # (kg to lbs]
175 |
For those who are struggling to learn Python, like I did, here is a game changing tip:
avoid long complicated tutorials you see online. You need to walk before you can run.
Start with very basic Books. Once you get them right, learning everything else becomes much easier.
Edit: For those asking about the books, the best basic one is Javascript In Less than 50 Pages.
It`s about Javascript but it is the fastest to learn the conceps that will be useful in any programming language.
Second I would recommend A Smarter Way to Learn Python. Your knowledge will transform.
5.2K |
Mosh you trully are an amazing teacher
anyway this is my answer to ex3
weight= int(input("Weight: "))
unit= input("(K)g or (L)bs: ")
if 'k' in unit or 'K' in unit:
converted = weight / 0.45
print("Weight in Lbs: " + str(converted))
elif 'l' in unit or 'L' in unit:
converted = weight * 0.45
print("Weight in kgs: " + str(converted))
15 |
I'm literally only like 5 minutes in and this is making more sense then my weeks of classes. Sir you are amazing. You need to win some sort of award for the service you are doing for the millions of people watching. You are opening doors and potential futures for people. This could be life changing. You gained a subscriber.
2.7K |
this was very useful. I got stuck at 50% on a python course, and found this to be very helpful to go over everything I had seen on that class from a different angle. The way you talk goes more at the speed that I can process information. I will be watching the 6hr full python course for beginners to cement all this info.
5 |
Thanks Mosh! โค After struggling for 1 year with complicated tutorials, I finally learned Javascript and Python! I did with the help of your videos and a few good books. I got hired this week and I'm here to say thank you!
Edit: For those asking, I learned with the books 'Javascript In Less than 50 pages' for the basics of programming and 'Smarter Way to Learn Python" to develop my knowledge on Python.
Learning anything else becomes much easier after that.
2.4K |
Iโm 32 years old. Father of 3. Dead end job after dead end job. Finally sat down with my wife and talked about what Iโd like to do in life. Everything I said centered around technology and I really like the idea of coding/programming. Decided Iโm going to see if I can learn it and if I can I will learn it and apply it and start a career. Thank you for this.
147 |
@programmingwithmosh
2 years ago
๐ฅ Want to master Python? Get my complete Python course: bit.ly/35BLHHP ๐ Subscribe for more Python tutorials like this: goo.gl/6PYaGF
816 |