[CODE CHALLENGE REVIEW] Python strings, tuples // New JavaScript Challenge = Tic Tac Toe game

4 years ago
8

Peter Fisher reviews the Python challenges live on Twitch
https://codechallenges.howtocodewell.net/2020/august

These three Python challenges focus on tuples, sets dictionaries and strings.
Create a GitHub Repo with a Python file per level. Submit your GitHub Repository to the Discord channel.
I will review these live on Twitch at the end of August.

Level 1 - Find the duplicates in a Python Tuple
How many times is `1` duplicated in this Tuple `1,1,2,3,4,1,5,6,7,1`

Level 2 - Find the max and min in a Python Set
Print the max and min numbers in this set `set([15, 11, 8, 15, 32, 20])`

Level 3 - Count characters in a string
Create function that counts the characters in the string; `Row Row Row Your Boat`
The function should return a dictionary where the index is the character and it's value is counter.
EG `{'R': 3, 'B':1}`

Join the next challenge: https://codechallenges.howtocodewell.net

🤗 Become a Patron: Show support & get early access
http://patreon.com/howToCodeWell

✉️ Get my weekly newsletter
https://email.howtocodewell.net/signup

⏰ My current live coding schedule
http://twitch.tv/howtocodewell
Tuesdays 07:00
Thursdays 21:00
Sundays 14:30 All times are BST

➡️ Follow How To Code Well:
https://www.twitter.com/howtocodewell
https://www.twitch.tv/howtocodewell
https://www.facebook.com/howtocodewell
https://www.instagram.com/howtocodewell

Loading comments...