What do you want to save?
Add Code snippet
New code examples in category Python
-
-
Awgiedawgie 2022-03-27 23:25:09
python odd or even
# Python program to check if the input number is odd or even. # A number is even if division by 2 gives a remainder of 0. # If the remainder is 1, it is an odd number. num = int(input("Enter a number: ")) if (num % 2) == 0: print("{0} i... Add solution -
Awgiedawgie 2022-03-27 23:10:01
color module python
#First off, you have to open up Command Prompt (WINDOWS) or Terminal (MAC) and type in pip install colour. #In the shell type: >>> import colour >>> blue = colour("blue") >>> blue <colour blue> Add solution
Best helpers
Ranking is empty