Skip to content

Commit 5846be5

Browse files
committedSep 23, 2024·
comment update
1 parent 10e765d commit 5846be5

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)
Please sign in to comment.