Python - Challenge 2 - Write a Function that Checks if a Number is Even or Odd

preview_player
Показать описание
In this challenge we're going to write a function in Python programming language that checks if a number is even or odd.
Рекомендации по теме
Комментарии
Автор

Challenge: can you code a program to run... if number odd then apply formula 3x+1, that result if =even then apply formula x/2, if result odd then apply formula 3x+1 and so on all in a loop? Starting point number 10

Gameplay-hivs