Skip to content

Commit 720fe04

Browse files
committedSep 29, 2024
Merge branch 'main' of github.com:SoCSTech/CMP9065-Data-Programming-in-Python into main
2 parents 331164b + 5846be5 commit 720fe04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎CMP9065 Data Programming in Python/workshops/Workshop 1 - Module Overview and Introduction to Python (Solved).ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@
876876
"print(\"Result:\", today_p_rain)\n",
877877
"\n",
878878
"\n",
879-
"# We can also combine all the parts into a single expression\n",
879+
"## We can also combine all the parts into a single expression ##\n",
880880
"today_p_rain = sunny * 5 + (1 - sunny) * ((current_temperature > 20) * (yesterday_p_rain + (yesterday_p_rain * 0.2)) + (current_temperature <= 20) * (yesterday_p_rain - (yesterday_p_rain * 0.45)))\n",
881881
"# NOTE: the above code is a bit complex and practically rarely used, but it shows how you can combine different data types and operators to create a complex expression.\n",
882882
"\n",

0 commit comments

Comments
 (0)