What do you want to save?
Add Code snippet
New code examples
-
Python 2022-01-30 19:31:20
how to convert dollars to rupees and rs to dollar in python
print('hello welcome to converter of rs to dollar and dollar to rs') print() carry_on = True while carry_on: try: ask = int(input('write what do you want to do find? for finding dollar to rs type "1" or to find rs to dollar write... Add solution -
Lisp 2022-01-29 07:37:42
Write a function that computes the sum of all proper divisors of a given number lisp
(defun proper-divisors-recursive (product &optional (results '(1))) "(int,list)->list::Function to find all proper divisors of a +ve integer." (defun smallest-divisor (x) "int->int::Find the smallest divisor of an i... Add solution -
Shell/Bash 2022-01-27 20:21:53
cmder search histroy
Press "Ctrl" + "r" and then type your substring to search in your history. Last matching command line will be found, keep using "Ctrl" + "r" to find previous ones. Once you find your searched command just press &quo... Add solution -
Python 2022-01-26 07:30:09
poisson disc python
import numpy as np import matplotlib.pyplot as plt # Choose up to k points around each reference point as candidates for a new # sample point k = 30 # Minimum distance between samples r = 1.7 width, height = 60, 45 # Cell side length a = r/np.sqrt(2) ... Add solution -
Python 2022-01-26 01:46:22
django db_index=true
When we should use db_index=True in Django? This is not really django specific; more to do with databases. You add indexes on columns when you want to speed up searches on that column. Typically, only the primary key is indexed by the database. This mea... Add solution -
Python 2022-01-24 17:42:20
python how to take the last digit of a number
# Python Program to find the Last Digit in a Number number = int(input("Please Enter any Number: ")) last_digit = number % 10 print("The Last Digit in a Given Number %d = %d" %(number, last_digit)) Add solution
Best helpers
Ranking is empty