What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-05 20:53:04
how to convert decimal to binary python
# Python program to convert decimal to binary # Function to convert Decimal number # to Binary number def decimalToBinary(n): return bin(n).replace("0b", "") # Driver code if __name__ == '__main__': print... Add solution -
Python 2021-10-03 04:10:06
how to find greatest number in python
Method 1 : Sort the list in ascending order and print the last element in the list. filter_none edit play_arrow brightness_4 # Python program to find largest # number in a list # list of numbers list1 = [10, 20, 4, 45, 99] # sorting the list ... Add solution -
Python 2021-10-02 09:09:02
python color picker
# Python program to create color chooser dialog box from tkinter import * from tkinter import colorchooser def choose_color(): color_code = colorchooser.askcolor(title ="Choose color") print(color_code) root = Tk() button = Button(ro... Add solution -
Python 2021-10-02 02:55:03
fibonacci series python using function
#Python program to generate Fibonacci series until 'n' value n = int(input("Enter the value of 'n': ")) a = 0 b = 1 sum = 0 count = 1 print("Fibonacci Series: ", end = " ") while(count <= n): print(sum, end = " &quo... Add solution -
Python 2021-09-29 21:33:02
programm the fibonacci sequence
#Python program to generate Fibonacci series until 'n' value n = int(input("Enter the value of 'n': ")) a = 0 b = 1 sum = 0 count = 1 print("Fibonacci Series: ", end = " ") while(count <= n): print(sum, end = " &quo... Add solution