Skip to content

Commit 147fb0b

Browse files
committedDec 31, 2022
python-course
1 parent eeec90a commit 147fb0b

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed
 

‎NoneType.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#if you somthing return from function and you don't know what is type of that than it will show "NONE"
2+
3+
a=None
4+
print(a)
5+
print(type(a))

‎README.md

+13-2
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,21 @@
6464

6565
# Variables and Datatypes in Python
6666
*Variable is name given to value for storing in your program or with Declare a varible name with value you can use that anywher in that particuler file*
67+
*TO declare a variable name you have to follow set of Rules:*
68+
1. variable name can contain alphabet,numbers,underscore.
69+
2. variable name can never be start with number.
70+
3. variable name can only start with Alphabet.
71+
4. you can't give space inside variable name.
6772

68-
*Datatype in python- mostly used datatype are as following:-*
73+
***Datatype in python- mostly used datatype are as following:-***
6974
*Integerns*
7075
*Floating point numbers*
7176
*Strings*
7277
*Boolean*
73-
*None*
78+
*None*
79+
80+
# Operators in Pyhton
81+
1. Arithmetic operators => "+,-,/,*" common examples.
82+
2. Assignment operators => "=,+=,-=" you will use in further steps.
83+
3. Comperison operators => "==,>,>=,<,<=,!=" for compare value and type also.
84+
4. Logical operators => "and,or,not" check logic in functions

0 commit comments

Comments
 (0)
Please sign in to comment.