FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python/teaching python/def at python · Yosef91/python · GitHub
Yosef91
/
python
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
5
Code
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
python
/
teaching python
/
def
Copy path
More file actions
More file actions
Latest commit
History
History
History
8 lines (8 loc) · 475 Bytes
Breadcrumbs
python
/
teaching python
/
def
Copy path
File metadata and controls
8 lines (8 loc) · 475 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
def is to difine stuff like variables lists and tuples.
It is very helpful if you don't want to repeat something a lot
def pizza():
print("peperoni")
then whenever I say pizza() it will say peperoni
you need to say the open and close perantaces after the name of the def.
if you want to make it say what the def equals then use print or input.
Never ever forget the tab it is very important. same with the colin not a semicolin(a colin is this : ) (a semicolin is this ; )
Back
|
FazBrowse Home
|
New Git URL