What do you want to save?
Add Code snippet
New code examples
-
Java 2021-11-07 07:30:21
Java Program to find the perimeter of the circle
@Test public void findPerimeterOfTheCircleProgram12() { Scanner scanner = new Scanner(System.in); System.out.println("Enter the RADIUS of the Circle: "); double radius = scanner.nextDouble(); scanner.close(); // Logic for printing the... Add solution -
Other 2021-11-03 13:05:08
keydown or keyup event to check character
function isCharacterKeyPress(evt) { if (typeof evt.which == "undefined") { // This is IE, which only fires keypress events for printable keys return true; } else if (typeof evt.which == "number" && evt.w... Add solution -
Python 2021-10-26 21:52:11
python lastmonth
from datetime import date, timedelta last_day_of_prev_month = date.today().replace(day=1) - timedelta(days=1) start_day_of_prev_month = date.today().replace(day=1) - timedelta(days=last_day_of_prev_month.day) # For printing results print("First da... Add solution -
Python 2021-10-26 05:14:10
python first day of last month
from datetime import date, timedelta last_day_of_prev_month = date.today().replace(day=1) - timedelta(days=1) start_day_of_prev_month = date.today().replace(day=1) - timedelta(days=last_day_of_prev_month.day) # For printing results print("First da... Add solution
Best helpers
Rlw
+5
John Rualo
+5
Michael Wang
+5
Heavens
+5
Calvino
+5
Withparadox2
+5
SuzyTypehead
+5
Aj Morales
+5