#!/usr/bin/env python
# coding: utf-8
#
# # Python Basics
# ## Printing Hello World
# In[11]:
print("Python attack")
# ## Using Python as a Calculator
# In[23]:
7*2
# In[26]:
8-2
# In[28]:
2^2
# ## Print a List of Words with a Loop
# In[57]:
words=["hello","cruel","world"]
for word in words:
print(word)
# ## Create Your Own Function
# In[102]:
def strange(x):
i=0
n=x
for i
# Fido.runs()
# Fido.plays()
# ## Exercise: Please use dot notation with sine (sin) function from the math library to compute sin(pi/2)
# In[111]:
math.sin(pi/2)
# In[113]:
math.factorial(7)
# In[ ]:
# In[ ]: