import math Velocity = float(input("Enter V in m/s ")) mass = float(input("mass in g ")) massV = (1/2 * mass) * Velocity print((massV), "J")
Subscribe to:
Post Comments (Atom)
Gammon => Ham Calculator V1.0
def ham_cooking_time (grams): """ Calculates the cooking time for a ham based on its weight. Args: g...
-
def ham_cooking_time (grams): """ Calculates the cooking time for a ham based on its weight. Args: g...
-
import random class EuroMillions : """Generates a random EuroMillions ticket with no duplicate numbers.""...
-
import random import string # To be extended one bit at a time lottery_numbers_picked = 1033458226 lottery = [ "1" , ...
No comments:
Post a Comment