Skip to content

Coding Challenge - Python solution from Ziyi Cao#76

Open
ziyic wants to merge 3 commits intointernship-experience-uk:mainfrom
ziyic:main
Open

Coding Challenge - Python solution from Ziyi Cao#76
ziyic wants to merge 3 commits intointernship-experience-uk:mainfrom
ziyic:main

Conversation

@ziyic
Copy link

@ziyic ziyic commented Jul 1, 2021

All 4 parts have been completed and all passed the test

if len(available_videos) == 0:
print("No videos available")
else:
rand = random.randint(0, len(available_videos) - 1)
Copy link
Collaborator

Choose a reason for hiding this comment

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

look up random.choice :)

@kathrinschuler
Copy link
Collaborator

Well done!

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.

2 participants