#python

LIVE
Illustration from “Scientific Visualization: Python & Matplotlib” by Nicolas P. Roug

Illustration from “Scientific Visualization: Python & Matplotlib” by Nicolas P. Rougier, 2021.


Post link
michelsaubois: Andrew Matarazzo by Alex Stoddard michelsaubois: Andrew Matarazzo by Alex Stoddard

michelsaubois:

Andrew Matarazzo by Alex Stoddard


Post link
Fishy, fishy, fishy. Where is the fish? This and many other icons of Monty Python can be found on th

Fishy, fishy, fishy. Where is the fish?

This and many other icons of Monty Python can be found on the Chop Shop design It’s as either a t-shirt or print.


Post link
It’s #WorldSnakeDay! These #SanFrancisco campers are learning about the beauty and wonder of o

It’s #WorldSnakeDay! These #SanFrancisco campers are learning about the beauty and wonder of our slithering friends by receiving a snake massage from Julie the Burmese #Python!

What’s YOUR favorite snake encounter?

#treefrogtreks #goldengatepark #snake #snakes #reptiles #snakesofinstagram #burmesepython #pythonbivittatus #sfkids #summercamp #nature #animal #kids #sf


Post link
Monty the Ball #Python always brings a smile to our campers’ faces! Check out his amazing peri

Monty the Ball #Python always brings a smile to our campers’ faces! Check out his amazing periscoping posture, which helps him see above the grass!

#treefrogtreks #goldengatepark #sf #sanfrancisco #sfkids #kids #snakes #reptiles #ballpython #reptilesofinstagram #herps #snake #pythonregius #summercamp #nochildleftinside #stem #stemeducation #scienceeducation #animal #animals #kids (at Golden Gate Park)


Post link
♡Course Name: Sacred Sound And Breath Meditation♡Course Tutor: Lisa Powers ♡Course Platform: Udemy

♡Course Name: Sacred Sound And Breath Meditation

♡Course Tutor: Lisa Powers

♡Course Platform: Udemy

♡Review: Sacred And Sound Breath Meditation By Lisa Powers Has Been A Great Course. I Took The Course From Udemy And Lisa Gives Demonstrations For Each And Every Type Of Meditation Very Nicely. I Had A Wonderful Learning Experience. Her Voice Is Amazing And Very Soothing To Hear While Learning.

♡Rating: ⭐⭐⭐⭐/5.

♡If You Liked My Review Then Please Do Follow @theprairiewitchwriter
For More Reviews.

#udemy #udemycourse #udemyfree #udemycoupon #onlinecourses #udemycoupons #udemycourses #programming #javascript #udemyinstructor #udemydeals #html #onlinelearning #coding #python #udemyfreecoupons #learning #css #meditationcourse #meditation #udemydiscount #onlinereikicourse #udemycouponcode #udemysale #lisapowers #eclecticwiccan #udemyfreecourse #solitarywiccan #wiccan #wicca
(at Club Town Apartment)
https://www.instagram.com/p/CNWibq_ss9a/?igshid=j38ypbf438ve


Post link
 Full image of my piece that is part of my collaboration with Jason Koharik. “Hypopigmentation”, 201 Full image of my piece that is part of my collaboration with Jason Koharik. “Hypopigmentation”, 201 Full image of my piece that is part of my collaboration with Jason Koharik. “Hypopigmentation”, 201 Full image of my piece that is part of my collaboration with Jason Koharik. “Hypopigmentation”, 201

Full image of my piece that is part of my collaboration with Jason Koharik. 


“Hypopigmentation”, 2017, Ballpoint Pen, Ink Marker, Watercolor Pencil, Graphite, Colored Pencil, and Gel Pen on Multi-media Paper, 16 inches by 20 inches. 


I post more detail shots over the next few days :)


For purchase inquires and/or questions, please email me at:[email protected]


Post link
Biak Green Tree Python at 888 Reptiles

Biak Green Tree Python at 888 Reptiles


Post link

#underwater #python #damselindistress #realness #moulinrouge #Paris

#underwater    #python    #moulinrouge    #realness    #damselindistress    
Sry dad I don’t wanna eat I’d rather smoosh your armSry dad I don’t wanna eat I’d rather smoosh your armSry dad I don’t wanna eat I’d rather smoosh your arm

Sry dad I don’t wanna eat I’d rather smoosh your arm


Post link
Ziggy Stardust, Zigzag Blood Python (Python brongersmai).Ziggy Stardust, Zigzag Blood Python (Python brongersmai).Ziggy Stardust, Zigzag Blood Python (Python brongersmai).

Ziggy Stardust, Zigzag Blood Python (Python brongersmai).


Post link
Hydaelyn just shed so I moved her to a cb-70 upgrade :). At night I can see them roaming the entire Hydaelyn just shed so I moved her to a cb-70 upgrade :). At night I can see them roaming the entire

Hydaelyn just shed so I moved her to a cb-70 upgrade :). At night I can see them roaming the entire enclosure. It makes me really happy!

Hydaelyn, Special ball python (Python regius). ((She’s for sale!))


Post link
Scully and Tataru sold, which frees up two cb-70′s. The first to get an upgrade is Hawke!Cinnamon X-Scully and Tataru sold, which frees up two cb-70′s. The first to get an upgrade is Hawke!Cinnamon X-

Scully and Tataru sold, which frees up two cb-70′s. The first to get an upgrade is Hawke!

Cinnamon X-Treme Gene ball python (Python regius).


Post link
Hawke, Cinnamon X-treme Gene ball python (Python regius).Hawke, Cinnamon X-treme Gene ball python (Python regius).Hawke, Cinnamon X-treme Gene ball python (Python regius).Hawke, Cinnamon X-treme Gene ball python (Python regius).

Hawke, Cinnamon X-treme Gene ball python (Python regius).


Post link
Hawke loves the little aquarium log I got him for his tub! Once one of the adults sells he’ll be getHawke loves the little aquarium log I got him for his tub! Once one of the adults sells he’ll be getHawke loves the little aquarium log I got him for his tub! Once one of the adults sells he’ll be getHawke loves the little aquarium log I got him for his tub! Once one of the adults sells he’ll be get

Hawke loves the little aquarium log I got him for his tub! Once one of the adults sells he’ll be getting moved to a cb-70 :).

Hawke, Cinnamon X-treme Gene ball python (Python regius).


Post link
Just hangin outJubilee, T+ Albino blood python (P. brongersmai).

Just hangin out

Jubilee, T+ Albino blood python (P. brongersmai).


Post link
Next paycheck all the animals are getting Reptichip and a plant. I can’t wait to see how they react!Next paycheck all the animals are getting Reptichip and a plant. I can’t wait to see how they react!

Next paycheck all the animals are getting Reptichip and a plant. I can’t wait to see how they react!

Hydaelyn, Special ball python (Python regius). ((And she’s for sale!))


Post link
My nervous child getting some much needed exercise :)!Hawke, Cinnamon X-Treme Gene ball python (P. rMy nervous child getting some much needed exercise :)!Hawke, Cinnamon X-Treme Gene ball python (P. rMy nervous child getting some much needed exercise :)!Hawke, Cinnamon X-Treme Gene ball python (P. r

My nervous child getting some much needed exercise :)!

Hawke, Cinnamon X-Treme Gene ball python (P. regius).


Post link

Testing sharing a reel from IG. My beloved Jocelyn!!

Leiopython albertisii

Crossing through Strings and Console

Crossing through Strings and Console


Post link

Let’s create a restaurant bill

  • Cost of meal: $44.50
  • Restaurant tax: 6.75%
  • Tip: 15%

We will have apply the tip to the overall cost of the meal (including tax).

So let’s start by defining the variable “meal” and assigning it the value “44.50”

Now let’s create a variable for the tax percentage.

The tax on the receipt is 6.75%. Let’s  divide 6.75 by 100 in order to get the decimal form of the percentage.

We assume we got good service, so we would like to leave a 15% tip on top of the cost of the meal, including tax.

Before we compute the tip for the total bill, let’s set a variable for the tip. Again, we need to get the decimal form of the tip, so we divide 15.0 by 100.

We’ve now got three variables we need to perform our calculation on, and we know some arithmetic operators that can help us out.

On Line 7, let’s reassign meal to the value of itself + itself * tax to simplify it a bit 

Now that the new variable of “meal" has the cost of the food plus tax, let’s introduce on  Line 8 a new variable, ”total" equal to the new “meal" + ”meal * tip"

So lets assign the variable “total" to the sum of ”meal" + “meal * tip" on Line 8.

Also let’s define the final print value of the total with exactly two numbers after the decimal.

Compile this script and submit it…and you get your total bill.

Yes: 54.63

That’s how to write a script on Python to calculate your restaurant bill

This is me just writing to remember basic stuff am learning. Writing things I read helps me remember them better. 

So now let’s start by explaining what we expect a simple calculator program to do in simple understandable english

I first read this, then tried it on DOS, typed this on IDLE and then just pasted it from there.

START PROGRAM print opening message 
while we let the program run, do this: #Print what options you have print Option 1 - add print Option 2 - subtract print Option 3 - multiply print Option 4 - divide print Option 5 - quit program ask for which option is it you want
if it is option 1: ask for first number ask for second number add them together print the result on screen
if it is option 2: ask for first number ask for second number subtract one from the other print the result on screen
if it is option 3: ask for first number ask for second number multiply! print the result on screen
if it is option 4: ask for first number ask for second number divide one by the other print the result on screen
if it is option 5: tell the loop to stop looping
Print onscreen a goodbye message END PROGRAM


Pretty simple, where my simple calculator can only do 4 things

Add
Subtract
Multiply
Divide

Since anything beyond that right now is too much for my brain to capture and process


Now let's try writing it in a way that Python understands by defining functions and parameters


# calculator program # NO CODE IS REALLY RUN HERE, IT IS ONLY TELLING US WHAT WE WILL DO LATER # Here we will define our functions # this prints the main menu, and prompts for a choice def menu(): #print what options you have print "Welcome to calculator.py" print "your options are:" print " " print "1) Addition" print "2) Subtraction" print "3) Multiplication" print "4) Division" print "5) Quit calculator.py" print " " return input ("Choose your option: ") # this adds two numbers given def add(a,b): print a, "+", b, "=", a + b # this subtracts two numbers given def sub(a,b): print b, "-", a, "=", b - a # this multiplies two numbers given def mul(a,b): print a, "*", b, "=", a * b # this divides two numbers given def div(a,b): print a, "/", b, "=", a / b # NOW THE PROGRAM REALLY STARTS, AS CODE IS RUN loop = 1 choice = 0 while loop == 1: choice = menu() if choice == 1: add(input("Add this: "),input("to this: ")) elif choice == 2: sub(input("Subtract this: "),input("from this: ")) elif choice == 3: mul(input("Multiply this: "),input("by this: ")) elif choice == 4: div(input("Divide this: "),input("by this: ")) elif choice == 5: loop = 0 print "Thankyou for using calculator.py!" # NOW THE PROGRAM REALLY FINISHES


That's it really.

Only 34 lines of code to make a calculator add/subtract/divide and multiply

And now I need to rest my overworked brain.


Thank you supremely intelligent denizens of the internet to make all this free.
The Marsh Python lay trapped in the Mott. It made do with eating whatever unwary fish and eels came

The Marsh Python lay trapped in the Mott. It made do with eating whatever unwary fish and eels came its way and dreaming of the day it would be free to swallow as many goats as it could manage.

Nicko and Jenna went skating. At first they were happy to circle around the iced-up Mott and irritate the Marsh Python, but after a while they began to venture into the landscape of the marsh.

Whoo first day of the magykal anniversary!! i’ve had this idea in my head for like four years and i’m so happy i finally got it done!


Post link
pythonpassion:Jasper appreciated having his branches put back up again.

pythonpassion:

Jasper appreciated having his branches put back up again.


Post link
loading