Skip to content

Commit 80a97df

Browse files
Update 05-operators.md
1 parent 2c240ed commit 80a97df

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

05-operators.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ print(str1 + str2) # Hey Jude
108108

109109
## More on Assignment Operators
110110

111-
_Multiple assignment at once_
111+
**Multiple assignment at once**
112112

113113
```
114114
@@ -118,7 +118,7 @@ print(y) # 6
118118
119119
```
120120

121-
_Compound Assignment Operators_
121+
**Compound Assignment Operators**
122122

123123
```
124124
@@ -132,15 +132,15 @@ x -= 10 # x = x - 10
132132

133133
##Program to Compute Discount
134134

135-
_Suppose you are a university student, and you need to pay 4535 dollars tuition fee for the next semester._
135+
**Suppose you are a university student, and you need to pay 4535 dollars tuition fee for the next semester.**
136136

137-
_The college is giving you a discount of 10% on the early payment of your tuition fee. Since it's a good offer, you decided to make an early payment. Can you find out how much money you have to pay?_
137+
**The college is giving you a discount of 10% on the early payment of your tuition fee. Since it's a good offer, you decided to make an early payment. Can you find out how much money you have to pay?**
138138

139139
```
140140
fee = 4530
141141
142142
discount_percent = 10
143-
discount_amount = discount_percent/100\*fee
143+
discount_amount = discount_percent/100*fee
144144
discounted_fee = fee - discount_amount
145145
146146
print("Fee after discount:", discounted_fee, "dollars") # 4081.5
@@ -151,9 +151,9 @@ print("Fee after discount:", discounted_fee, "dollars") # 4081.5
151151

152152
##Programming Task
153153

154-
_Can you create a program to convert distance in kilometers to miles?_
154+
**Can you create a program to convert distance in kilometers to miles?**
155155

156-
_Forumula: 1 kilometer -> 0.621371 miles_
156+
**Forumula: 1 kilometer -> 0.621371 miles**
157157

158158
```
159159

0 commit comments

Comments
 (0)