Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Any one can learn Python programming

Rating
-
Sold
-
Pages
4
Uploaded on
10-03-2023
Written in
2022/2023

Describe about python programming

Institution
Course

Content preview

Mosh is a software engineer with two decades of experience and I 've taught over 3 million
people how to code. He has designed this Python course for anyone who wants to learn Python.
In this tutorial I 'm going to show you how to download and install Python on your computer. You
will learn how to use Python in machine learning or artificial intelligence. All the materials you 're
going to learn in this course will apply to the latest version of Python as well. At the time of
recording this video the latest. version is python 3. 7. 2. Chances are in the future , when you
are watching this tutorial there is a newer version of. Python available. The first time we run
pycharm we 're going to get this warning because this is an application that we download from
the internet. So let 's go ahead and open it every time you open it, click on create new project.
Make sure that base interpreter is set to Python 3. Mac computers come with an older
installation of Python, that 's Python 2. It 's considered legacy which means it 's no longer
maintained or supported. So by convention, all Python files should have this py extension.


In this Python tutorial , we 're gong to take this program to the next level and make it more
interesting. So I 'm going to show you how to draw a dog hair. As part of this tutorial you will
learn how Python code gets executed and you will also learn about a few programming terms.
In the future as you learn more Python you 'll be able to build applications that have a graphical
user interface. With this piece of code we can draw 10 asterisks on the terminal. Python
interpreter tries to execute line 4 when it executes line 4. It will evaluate the code that we put in
between parenthesis. and before the parenthesis , add a space , once again , add an asterisk ,
space , 10. So let 's run this program one more time , there you go. Are you excited to learn
Python and get started on this career path ? If you are, I would encourage you to make a
commitment and spend 2 hours every day practicing python. Use the comment box below and
let me know why you are learning Python , what do you want to do with it ? What 's your dream
job ? I would love to hear your story.


Python interpreter executes our code line by line from the top. On the second line we can
update the value of this price variable , so we can reset it to a new value like 20. On line 2, we
can define another variable called rating and set it to number 4. 9. Now note that Python is a
case sensitive language. Python is sensitive to lower case and upper case letters. In this
tutorial, I 'm going to show you how to receive input from the user. So we 're going to write a
small program that asks the user 's name and then we 'll print a greeting message customized
for that user. In Python we also have functions for common tasks such as printing messages,
receiving input , and so on. Mosh has created a cheat sheet with summary notes to review the
materials in this course. The link is below this video. So I have done my best to create the best
possible Python course on Youtube. And I really appreciate it if you support my hard work by
liking this video and sharing it with others.


We 're going to write a program that will ask the year that we were born in and then it will
calculate our age and print it on the terminal. Python does n't know what to do with subtraction.
So whenever you see this message , that means there is something wrong with your program.

Written for

Course

Document information

Uploaded on
March 10, 2023
Number of pages
4
Written in
2022/2023
Type
SUMMARY

Subjects

$6.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
niranjankingsolo

Get to know the seller

Seller avatar
niranjankingsolo
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
2
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions