What do you want to save?
Add Code snippet
New code examples
-
Python 2021-09-16 09:26:02
program to find the largest of three numbers in python
# Python program to find the largest number among the three input numbers # take three numbers from user num1 = float(input("Enter first number: ")) num2 = float(input("Enter second number: ")) num3 = float(input("Enter third numb... Add solution -
Python 2021-09-16 08:24:02
Bottle (web framework)
Bottle is a WSGI micro web-framework for the Python programming language. It is designed to be fast, simple and lightweight, and is distributed as a single file module with no dependencies other than the Python Standard Library. The same module runs with ... Add solution -
Python 2021-09-14 19:09:03
send email python
#>>>>>>>>>>>>>>>>>>> GIVE AN UP VOTE IF YOU LIKED IT <<<<<<<<<<<<<<<<<<<<< #Easiest and Readable way to Email #through Python SMTPLIB ... Add solution -
Other 2021-09-14 17:19:01
local variable 'distro_name' referenced before assignment
// Solution for Python 3.8, procedure for other version might be a little different. Edit the file: .../anaconda3/lib/python3.8/site-packages/anaconda_navigator/api/external_apps/vscode.py" Add "DISTRO_NAME = None" at line 159 in the func... Add solution -
Python 2021-09-14 14:48:05
format when turning float into string
# Option one older_method_string = "%.9f" % numvar # Option two, preferred in Python 3 newer_method_string = "{:.9f}".format(numvar) # Option 3 (versions 3.6 and higher) newest_method_string = f"{numvar:.9f}" Add solution -
Python 2021-09-14 12:02:02
arrow in python function
""" The arrow in python functions denotes the return value of the function. Note that the arrow doesn't enforce anything, and nothing prevents a developer from returning some value that isn't what is indicated. Obviously, this is bad practi... Add solution -
Python 2021-09-14 11:26:03
python turtle import images
import turtle from os import path #WARNING: IMAGES MUST BE .GIF currentDir = os.abspath(path.curdir) #get the python file location wn = turtle.Screen() wn.setup(width=700,height=400) wn.title("image test") wn.addshape(currentDir+"\\Resour... Add solution
Best helpers
Ranking is empty