-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPython-Basics.py
More file actions
61 lines (38 loc) · 771 Bytes
/
Copy pathPython-Basics.py
File metadata and controls
61 lines (38 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
print("Hello World")
print('Hello World')
print("Python is 'awesome'")
print('Python is "awesome"')
print(""""Python" is 'awesome' """)
print(25)
print(2*3)
#print(7+12)
#
#3*4
#
#15/3
# Python Basic's
print("I am learning Python !!!") # I am new here !!!
## Variable's
greeting = "Hello"
print(greeting)
a = 25
print(a)
## The Rules to define the variables ##
# 1) Must start with a Letter or _Underscore
# 2) Consists of Letters, Numbers and Underscores
# But it will not starts with a Number
# 3) Variable names are case sensitive
car = "Mercedes"
print(car)
_car = "Audi"
print(_car)
Two_Wheeler121 = "Royal Enfield"
print(Two_Wheeler121)
1car ="Honda"
print(1car)
car = "Mercedes"
print(car)
CAR = "Jaguar"
print(CAR)
Car = "BMW"
print(Car)