I hereby claim:
- I am t-walker on github.
- I am airercode500 (https://keybase.io/airercode500) on keybase.
- I have a public key ASB3K7aNFsOYQE0Uer6qFi5qrJLVcDtq11W0OXHZXiKoRQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# This is the first line of a python file. This line is a comment and Python ignores it because it starts with a '#' | |
# Whenever you see a '#' you should know that I'm 'talking' instead of actually writing a Python statement. | |
# You can also use a comment after a Python statement. For example: | |
print("Hello World") # This line prints hello world. | |
# Python will print out Hello World and then continue to move on after seeing the comment. | |
# Another important thing to know is how Python's syntax is formatted. | |
# If you're going to create a variable or function, the names cannot be separated by any spaces. |
#this function that opens a file in the same directory | |
def function(filename): | |
file = open(filename, "r") | |
for line in file.readlines(): | |
print(line) | |
#returns the square root of a number | |
sqrt = number ** (0.5) | |
#returns the log of a number |