#!/usr/bin/env python
# coding: utf-8

# In[1]:


# [ ] print 'Hello!' and remember to save notebook!
print('Hello!')


# In[2]:


#### [ ] convert \*this\* cell from markdown to a code cell, then run it  
print('Run as a code cell')


# In[3]:


# [ ] print your name
print("Saulius")
# [ ] print "is using Python"
print("is using Python")


# In[4]:


# [ ] create a variable your_name and assign it a sting containing your name
your_name="Saulius"
#[ ] print your_name
print(your_name)


# In[5]:


# [ ] create variables and assign values for: favorite_song, shoe_size, lucky_number
favorite_song="darude - sandstorm"
shoe_size='43'
lucky_number='3'
# [ ] print the value of each variable favorite_song, shoe_size, and lucky_number
print(favorite_song)
print(shoe_size)
print(lucky_number)


# In[6]:


# [ ] print favorite_song with description
print('favorite song is '+favorite_song)

# [ ] print shoe_size with description
print('my shoe size is '+shoe_size)

# [ ] print lucky_number with description
print ('my lucky number is '+lucky_number)


# In[7]:


# assign favorite_lucky_shoe using
favorite_lucky_shoe='For singing '+favorite_song+' '+shoe_size+' times, you will be fined '+lucky_number+'$'
print(favorite_lucky_shoe)


# In[8]:


# [ ] print a diagonal using "*"
print('   *')
print('  *')
print(' *')
print('*')
# [ ] rectangle using "*"
print("********")
print('*      *')
print('*      *')
print('********')
# [ ] smiley using "*"
print(' *    *')
print('   *')
print('*     *')
print(' *****')


# In[9]:


# [ ] display the type of 'your name' (use single quotes)
type('your name')


# In[10]:


# [ ] display the type of "save your notebook!" (use double quotes)
type("save your notebook!")


# In[11]:


# [ ] display the type of "25" (use quotes)
type("25")


# In[16]:


# [ ] display the type of "save your notebook " + 'your name'
type("save your notebook " + 'your name')


# In[12]:


# [ ] display the type of 25 (no quotes)
type(25)


# In[13]:


# [ ] display the type of 25 + 10 
type(25+10)


# In[14]:


# [ ] display the type of 1.55
type(1.55)


# In[15]:


# [ ] display the type of 1.55 + 25
type(1.55+25)


# In[17]:


# assignments ***RUN THIS CELL*** before starting the section

student_name = "Gus"
student_age = 16
student_grade = 3.5
student_id = "ABC-000-000"


# In[18]:


# [ ] display the current type of the variable student_name
type(student_name)


# In[19]:


# [ ] display the type of student_age
type(student_age)


# In[20]:


# [ ] display the type of student_grade
type(student_grade)


# In[21]:


# [ ] display the type of student_age + student_grade
type(student_age + student_grade)


# In[22]:


# [ ] display the current type of student_id
type(student_id)


# In[23]:


# assign new value to student_id 
student_id='ABC-000-001'

# [ ] display the current of student_id
type(student_id)


# In[24]:


# [ ] create integer variables (x, y, z) and assign them 1-3 digit integers (no decimals - no quotes)
# [ ] insert a code cell below
x=1
y=11
z=111


# In[25]:


# [ ] create an integer variable named xyz_sum equal to the sum of x, y, and z
# [ ] print the value of xyz_sum
xyz_sum=x+y+z
print(xyz_sum)


# In[26]:


# [ ] fix the error 

print("Hello World!")    


# In[27]:


# [ ] fix the error 
print('strings have quotes and variables have names')


# In[28]:


# [ ] fix the error 
print( "I have $" + '5')


# In[29]:


# [ ] fix the error 
print('always save the notebook')


# In[30]:


# [ ] ASCII ART
print('*****   *****')
print('*       *   *')
print('*****   *****')
print('    *   *   *')
print('*****@  *   *@')


# In[31]:


# [ ] ASCII ART
print('-         -')
print(' \       /')
print('  \ . . /')
print('     v')


# In[ ]:




