May-21-2024, 08:30 PM
class Person: name = " " stat = " " person1 = Person() person1.name = "Ross Kagawa" def battingaverage(): z = float(.200) homeruns = "0" rbis = "7" #create object associate with name person1.stat2 = ".200" person1.stat1 = "0" person1.stat = "7" print(person1.name, "is a shitty baseball player.") print("at Waimea High School in 1983.") print("see yearbook, 1983.") print("His baseball stat senior was: ") print("batting average: ", person1.stat2) print("homeruns: ", person1.stat1) print("rbi's: ", person1.stat) p = input() print("He went on to UH Manoa baseball and play college ball for Hawai'i at 5-7 as a walk on.") print("years played, 1985-1989")Here's my stat. Quick fact on baseball. Put this on a canvas some where on the main page. Small square with a button. Press the button for game to game stat. Just update the current class file .py by saving the newer stat and discarding the older file. If it doesn't replace the old one. On the server. This file works.
Quote:Ross Kagawa is a shitty baseball player.
at Waimea High School in 1983.
see yearbook, 1983.
His baseball stat senior was:
batting average: .200
homeruns: 0
rbi's: 7
Why?
He went on to UH Manoa baseball and play college ball for Hawai'i at 5-7 as a walk on.
years played, 1985-1989
=== Code Execution Successful ===
Programs are like instructions or rules. Learning it gets us closer to a solution. Desired outcome. Computer talk.