About 1,806,105 results (1,660 milliseconds)

pythonic - Colab

https://colab.research.google.com/github/alvas-education-foundation/Prajwal-Kamagethi/blob/master/pythonic.ipynb
#Python program to check if the input year is a leap year or not # To get year (integer input) from the user year = int(input("Enter a year: "))

Migrate from PaLM API to Gemini API on Vertex AI | Generative AI on ...

https://cloud.google.com/vertex-ai/generative-ai/docs/migrate/migrate-palm-to-gemini
The following is a short code sample that installs the Vertex AI SDK for Python. ... generate_content("Write a function that checks if a year is a leap year.

Notebook 4 - Controlling Program Flow and Using Modules

https://colab.research.google.com/github/mco-gh/mco.dev/blob/master/static/notebooks/4_Conditionals.ipynb
Trivia Question: Will the year 2100 be a leap year? Up to now, we've looked at very simple programs, involving a sequence of statements (A, then B, then C…) ...

SCE #Official - Python

https://sites.google.com/view/sceofficial/sem-iv/python
Consider leap year also. [input: 2018. Month: 02. Output: 28 days] ... Write a python program to display all data and display statistics of cars. 1 ...

Experiences using Go as a Teaching Language with Young ...

https://groups.google.com/g/golang-nuts/c/FIRSDBehb3g/m/BFiHYVNCwzUJ
Once they learn that all they need to do is use 'go run' to run their program they never ask how to run any program again. ... programming to my eleven-year-old ...

Module 1.ipynb - Colab

https://colab.research.google.com/drive/1xVsU34Km1x3pORadIRJZWFd1lEH6Eueg?usp=sharing
Write a python program check whether the given year is leap year or not. ... Write a python program to find Function for nth Fibonacci number. Fn = Fn-1 + ...

Hsing-Ming's Homepage - Sample Programs

https://sites.google.com/site/umchang5/home/sample-programs
(a simple R function to check if an input is a leap year or not). R Sample 3 ... Python learning step by step (for my own Python learning). STATA ...

Get_started.ipynb - Colab

https://colab.research.google.com/github/google-gemini/cookbook/blob/main/quickstarts/Get_started.ipynb
Mar 7, 2025 ... send_message("Write a function that checks if a year is a leap year. ... run the script using python leap_year.py . The output will show ...

steve yegge - tour-de-babel

https://sites.google.com/site/steveyegge2/tour-de-babel
It's not sufficient to learn how to write C-like programs in Lisp. That's ... Python had NOTHING except for global and local (function) scope, so even ...

Racket2 possibilities

https://groups.google.com/g/racket-users/c/HiC7z3A5O-k/m/XPR2wbSJCQAJ
By starting all programs with `#lang`, we have created a path to leap ... When I edit for example Python code, things are not clear when moving around code.

‎Gemini Apps' release updates & improvements

https://gemini.google.com/updates
While this model represents a leap ... What: Exclusive to Gemini Advanced, you can now edit and run Python code snippets directly in Gemini's user interface.

python - How to make calendar using tktinker - Stack Overflow

http://feedproxy.google.com/~r/stackoverflow/ynOn/~3/YEjb7kgdh7E/how-to-make-calendar-using-tktinker
Dec 7, 2019 ... Here's sample code i found for a tkinter calendar: import calendar as cd import tkinter as tk # supply year and month year = 2007 month = 2 ...

Timestamp functions | BigQuery | Google Cloud

https://cloud.google.com/bigquery/docs/reference/standard-sql/timestamp_functions
... year value so that the function can parse properly. Return Data Type. TIMESTAMP. Example. See more code actions. Dismiss View. Light code theme. Dark code theme.

Date & number formats | Google Sheets | Google for Developers

https://developers.google.com/sheets/api/guides/formats
Sheets correctly treats the year 1900 as a common year, not a leap year. ... Code Samples. Explore our sample apps or copy them to build your ...

steve yegge - five-essential-phone-screen-questions

https://sites.google.com/site/steveyegge2/five-essential-phone-screen-questions
... year veterans. 2) They're quick - they're areas that you can probe very ... They can even write a Java or C++ program, provided they can actually write ...

Create prompts to generate code (Generative AI) | Vertex AI | Google ...

https://cloud.google.com/vertex-ai/docs/samples/aiplatform-sdk-code-generation-function
... ["prefix"] = Value.ForString("Write a C# function that checks if a year is a leap year."), } }) }; var parameters = Value.ForStruct(new() { Fields = { ...

MDV_2023_Assignment2.ipynb의 사본 - Colab

https://colab.research.google.com/drive/1AhUIgpi5q6JHD44-kwkzVGCJiKXMg6pj
Apr 9, 2024 ... Create a function that tells whether a certain year is a leap year or not. ... Let's say you want to write a Python program that return a list of ...

jupyterhub and vpython

https://groups.google.com/g/vpython-users/c/CKN0ATcvxh8
Also verify the vpython version number in your python program. from vpython ... However, there are times when you might need to write and run programs even when ...

Where to now

https://groups.google.com/g/mvdbms/c/Tlhz7GUaIvE
We have the best data model but are limited to BASIC as the programming environment. Today's programmers are schooled in Java, C#, Python, JavaScript, ...