Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,20 @@
}
collection_of_coins = {1, 2, 25}

# write your code here
# create a dictionary categorized by data types
sorted_variables = {
"mutable" : [
my_favourite_films, #List[]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inline comments should follow the requested style: two spaces before # and a space after it (e.g., my_favourite_films, # List[]). Please adjust all similar inline comments here to match that format.

marks, # Dictionary {}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same inline comment spacing issue as above: add two spaces before # and ensure there is a space after #. Apply this consistently to all inline comments in this block.

collection_of_coins, # Set {} , with single values

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same inline comment spacing issue: fix to collection_of_coins, # Set {}, with single values to match the requested style.

],
"immutable" : [
lucky_number, # Integer (int)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inline comments here also need two spaces before # and a space after it (for all commented entries in the "immutable" list).

one_is_a_prime_number, #Boolean value (bool)
pi, # Floating-point number (float)
name, # String (str)
profile_info, # Tuple ()
]
}


Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file ends with an extra blank line, which was previously flagged (W391). Remove the trailing blank line so the file ends immediately after the closing brace of sorted_variables.

Loading