Skip to content

Update do_if.py#126

Open
kathirsci41 wants to merge 1 commit intomichaelliao:masterfrom
kathirsci41:patch-1
Open

Update do_if.py#126
kathirsci41 wants to merge 1 commit intomichaelliao:masterfrom
kathirsci41:patch-1

Conversation

@kathirsci41
Copy link

No description provided.

@verneyleaf
Copy link

verneyleaf commented Oct 9, 2024 via email

print('adult')
elif age >= 6:
elif age >= 16:
print('teenager')

Choose a reason for hiding this comment

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

Recommendation print('adult' if age >= 18 else 'teenager' if age >= 16 else 'kid')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants