Python Saved Program: quiescent-life

facebook share

Here's the online compiler accompanied with IDE at your service. This is a saved code by one of our users. Try it out or save your own from the IDE page and don't forget to leave a feedback. You can find that at the bottom of the page.


#Come on. You can change the whole world with a few lines of code
print("Teacher: Hello world!")
print("Student: Hi how are you today?")
print("Teacher: I am Fine, and you?")
print("Student: I hate your class!")
print("Teacher: I am sorry to hear that Cameron")
print("Today we will learn how to use Python with Matheamtics!")
import math

# This returns the value of e.
print(math.e)

# And this is pi.
print(math.pi)

print("These are what we call trancsedental numbers. But first lets learn other commands")
print()
print("Floor and Cieling functions.")

import math

# Fractional number.
n = 100.7

# Absolute value.
print(math.floor(n))
print(math.ceil(n))
Execute

Output

Press the execute button or CTRL + enter to run code.

Inputs