Загрузка...

Even or Odd? - Codewars Popular Katas SOLVED #6

Code wars Even or Odd kata solutions. In this video, we solve the #6 MOST POPULAR code challenge (kata) on Codewars using Python. The kata is called "Even or Odd" and it is an 8 kyu difficulty coding challenge. Link to problem: https://www.codewars.com/kata/53da3dbb4a5168369a0000fe/ [Playlist] Check out more codewars problem solutions: https://www.youtube.com/playlist?list=PLQY6pPQn_frtK6Q5-as9xp2uA7erx1OhL [Playlist] Check out more general programming problem solutions: https://www.youtube.com/playlist?list=PLQY6pPQn_frv0TSZ1DVIbJAj4vdmEIYjx Problem Description: Create a function that takes an integer as an argument and returns "Even" for even numbers or "Odd" for odd numbers. Timestamps: 0:00 Problem Description 0:35 Solution #1 (Pythonic Ternary Operator) 1:14 Solution #2 (Regular If-else) Find me on these platforms: ? Github: https://github.com/PeterBohai ⚔️ Codewars: https://www.codewars.com/users/Pete_Hu ? Linkedin: https://www.linkedin.com/in/peterbohai #python #coding #codewars

Видео Even or Odd? - Codewars Popular Katas SOLVED #6 автора Геймеры и Легенды
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки