Skip to content

Commit dfbdb22

Browse files
authored
Update II Variables in Bash Scripting.py
1 parent 9c4b684 commit dfbdb22

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Introduction to Bash Scripting/II Variables in Bash Scripting.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,14 @@
196196
>>>>>> echo ${!citydetails[@]}
197197
c_nama Population
198198
"""
199+
200+
"""
201+
### Creating an array
202+
203+
Instructions 1/3
204+
205+
- Create a normal array called capital_cities which contains the cities Sydney, Albany and Paris. Do not use the declare method;
206+
fill the array as you create it. Be sure to put double quotation marks around each element!
207+
"""
208+
# Create a normal array with the mentioned elements
209+
capital_cities=("Sydne" "Albany" "Paris")

0 commit comments

Comments
 (0)