What do you want to save?
Add Code snippet
New code examples
-
Python 2022-02-28 22:40:20
python definition
def myFunction(say): #you can add variables to the function print(say) myFunction("Hello") age = input("How old are you?") myFunction("You are {} years old!".format(age)) #this is what you get: Hello How old are you? &... Add solution -
Python 2022-01-23 09:20:06
python mad libs
print("mad libs game") print("fill each below to go to next question after you typed the first one press enter to go to the scond one ") name = input("Enter a name: ") age = input("Enter a age: ") celebrity = in... Add solution -
Python 2022-01-22 00:26:05
functions in python programming
def myFunction(say): #you can add variables to the function print(say) myFunction("Hello") age = input("How old are you?") myFunction("You are {} years old!".format(age)) #this is what you get: Hello How old are you? &... Add solution -
Python 2021-09-30 04:38:03
how to process an image in knime with a Python script node?
from KNIPImage import KNIPImage from scipy import ndimage # Copy structure of incoming KNIME table output_table = input_table.copy() # Create empty output_column output_column = [] # Loop over every cell in the 'Img'... Add solution -
Python 2021-09-21 02:54:03
how to make a poker game in python
#poker print("poker username: ") name = input("") print("age: ") age = input("") #continue input("\n\nPress the [enter key]") #make random cards by importing import random #player cards print("your... Add solution -
Python 2021-09-08 05:31:01
python funtion
def myFunction(say): #you can add variables to the function print(say) myFunction("Hello") age = input("How old are you?") myFunction("You are {} years old!".format(age)) #this is what you get: Hello How old are you? &... Add solution -
Python 2021-08-27 12:35:02
how to use def in python
def myFunction(say): #you can add variables to the function print(say) myFunction("Hello") age = input("How old are you?") myFunction("You are {} years old!".format(age)) #this is what you get: Hello How old are you? &... Add solution