Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Jermainokuneva

Jermainokuneva

Community Learner
Active in: Java Python Data Science
Share
2Questions
3Answers
3.9KViews on questions

Getting today's date in YYYY-MM-DD in Python?

In Python, getting today’s date in the YYYY-MM-DD format is quite straightforward, thanks to the built-in datetime module. This module provides classes for working with dates and times in a flexible way. Here’s the simplest approach: from datetime import date today = date.today() formatted_date =…

Python

Answered Sep 2, 2025 · 3.3K Views Read answer →

are there dictionaries in javascript like python?

Yes, JavaScript does have structures similar to Python dictionaries! While it doesn’t have a built-in “dictionary” type like Python, it offers a couple of ways to store key-value pairs effectively: Plain JavaScript Objects ({}) The most common way to create dictionary-like structures is by using objects.const user = {…

Java

Answered Apr 9, 2025 · 597 Views Read answer →

What is optimizer.zero_grad()

This does not affect the weights (Wt) and ( W_{t+1}), which are updated during the optimization step. For any optimizer, this ensures only gradients are reset, while other parameters (geometry dash scratch) remain intact unless explicitly altered.

Data Science

Answered Nov 18, 2024 · 901 Views Read answer →

More members from the Java community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.