Assignment Operators

3 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€42.30
List Price:  €59.22
You save:  €16.92
£36.71
List Price:  £51.40
You save:  £14.68
CA$68.41
List Price:  CA$95.78
You save:  CA$27.37
A$71.27
List Price:  A$99.78
You save:  A$28.51
S$63.63
List Price:  S$89.09
You save:  S$25.45
HK$390.61
List Price:  HK$546.89
You save:  HK$156.27
CHF 38.77
List Price:  CHF 54.28
You save:  CHF 15.51
NOK kr484.43
List Price:  NOK kr678.24
You save:  NOK kr193.81
DKK kr316.04
List Price:  DKK kr442.49
You save:  DKK kr126.44
NZ$83.10
List Price:  NZ$116.35
You save:  NZ$33.25
د.إ183.58
List Price:  د.إ257.03
You save:  د.إ73.45
৳6,095.86
List Price:  ৳8,534.69
You save:  ৳2,438.83
₹4,528.91
List Price:  ₹6,340.84
You save:  ₹1,811.92
RM197.28
List Price:  RM276.21
You save:  RM78.93
₦68,175.25
List Price:  ₦95,450.80
You save:  ₦27,275.55
₨13,937.81
List Price:  ₨19,514.05
You save:  ₨5,576.24
฿1,572.09
List Price:  ฿2,201.06
You save:  ฿628.96
₺2,180.18
List Price:  ₺3,052.43
You save:  ₺872.25
B$260.80
List Price:  B$365.14
You save:  B$104.34
R802.06
List Price:  R1,122.95
You save:  R320.89
Лв82.73
List Price:  Лв115.84
You save:  Лв33.10
₩73,175.36
List Price:  ₩102,451.36
You save:  ₩29,276
₪155.50
List Price:  ₪217.71
You save:  ₪62.21
₱2,925.03
List Price:  ₱4,095.29
You save:  ₱1,170.25
¥7,858.45
List Price:  ¥11,002.46
You save:  ¥3,144.01
MX$863
List Price:  MX$1,208.27
You save:  MX$345.27
QR182.03
List Price:  QR254.85
You save:  QR72.82
P659.89
List Price:  P923.90
You save:  P264.01
KSh6,429.85
List Price:  KSh9,002.30
You save:  KSh2,572.45
E£2,342.53
List Price:  E£3,279.73
You save:  E£937.20
ብር7,748.81
List Price:  ብር10,848.96
You save:  ብር3,100.14
Kz45,597.53
List Price:  Kz63,840.19
You save:  Kz18,242.66
CLP$43,035.89
List Price:  CLP$60,253.69
You save:  CLP$17,217.80
CN¥346.87
List Price:  CN¥485.65
You save:  CN¥138.77
RD$3,145.80
List Price:  RD$4,404.37
You save:  RD$1,258.57
DA6,479.89
List Price:  DA9,072.37
You save:  DA2,592.47
FJ$110.45
List Price:  FJ$154.64
You save:  FJ$44.19
Q382.30
List Price:  Q535.26
You save:  Q152.95
GY$10,428.37
List Price:  GY$14,600.55
You save:  GY$4,172.18
ISK kr6,134.27
List Price:  ISK kr8,588.47
You save:  ISK kr2,454.20
DH457.58
List Price:  DH640.66
You save:  DH183.07
L849.84
List Price:  L1,189.85
You save:  L340
ден2,605.71
List Price:  ден3,648.21
You save:  ден1,042.49
MOP$401.11
List Price:  MOP$561.59
You save:  MOP$160.47
N$804.14
List Price:  N$1,125.86
You save:  N$321.72
C$1,834.38
List Price:  C$2,568.28
You save:  C$733.89
रु7,223.89
List Price:  रु10,114.02
You save:  रु2,890.13
S/167.71
List Price:  S/234.80
You save:  S/67.09
K213.75
List Price:  K299.26
You save:  K85.51
SAR187.44
List Price:  SAR262.44
You save:  SAR74.99
ZK928.35
List Price:  ZK1,299.76
You save:  ZK371.41
L215.47
List Price:  L301.68
You save:  L86.20
Kč1,024.99
List Price:  Kč1,435.08
You save:  Kč410.08
Ft15,981.80
List Price:  Ft22,375.80
You save:  Ft6,394
SEK kr451.06
List Price:  SEK kr631.53
You save:  SEK kr180.46
ARS$71,889.72
List Price:  ARS$100,651.37
You save:  ARS$28,761.64
Bs344.42
List Price:  Bs482.22
You save:  Bs137.79
COP$184,939.45
List Price:  COP$258,930.03
You save:  COP$73,990.57
₡24,710.67
List Price:  ₡34,596.92
You save:  ₡9,886.24
L1,322.48
List Price:  L1,851.58
You save:  L529.10
₲329,332.85
List Price:  ₲461,092.35
You save:  ₲131,759.49
$U1,917.12
List Price:  $U2,684.12
You save:  $U767
zł178.45
List Price:  zł249.84
You save:  zł71.39
Already have an account? Log In

Transcript

Okay in this python programming we do what we usually require is the assignment operator. So, same operator is available Ah I see quite a equal one or less equal six. So, are these equal is a assignment operator and this equal means are assigned to so a says is assigned to this variable a okay then we have some operator life as a variable brass equivalency gave a random value let's see, okay what this mean is variable A equal variable a bra okay. Ah this is a command or Command means this test will not be run by the Python compiler we write I will say we write a command usually we in this heads and then our command behind okay? This is also a comment okay so let's run this Python script or Python code okay I get okay I did not get any team because I did not win it okay so I we were oh boy okay so I run so I get 40 so variable a prosecutor in a car Girl by a six.

So variable A equal variable a brass variable a brass. So we have six, brass A, which is 40 okay then we have minus equal minus equal. So these become minus k then we run again. Okay we get minus two so is six minus eight is minus two. Then we have our se times okay now that run okay? So we have 48 so the way six times eight okay six times a week 48 then we have our divide kid I know Ron so I get 0.750 but he six times he changed to divide.

So six divided by eight 0.75 Okay, so all these I will say it's all the same operators in this Python code.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.