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

# In[2]:


#Python as a calculator


# In[3]:


3+5


# # Functions

# In[4]:


print(4+6)


# In[6]:


print(7)


# In[5]:


print("Hello World")


# In[7]:


#commenting


# In[8]:


"""
It is just a note.
3 2 1 1 2 3
"""


# # Variable Assignment

# In[9]:


n=300


# In[10]:


n


# In[11]:


print(n)


# In[12]:


type(n)


# In[13]:


m=n


# In[14]:


print(m)


# In[16]:


m=400


# In[17]:


print(type(m))


# In[20]:


hi= "World"


# In[21]:


print(hi)


# In[22]:


print(type(hi))


# In[24]:


t=3.5
print(type(t))


# In[26]:


t= True
print(type(t))


# In[25]:


t,f=True, False
print(type(t))


# In[29]:


print(len(hi)) #veri uzunlugunu yazdırma


# In[37]:


name="Dogukan"
surname = "Bozkurt"
print(f"Hi {name} {surname}") # F-String


# # Computations

# In[38]:


5**2


# In[41]:


"35"+"67"


# In[42]:


"35"* 3


# In[43]:


"hello"*4


# In[44]:


x=10


# In[45]:


print(x+2)


# In[46]:


print(x**2) #x degisiklige ugramaz sadece etkiler.


# In[50]:


print(x%3)


# In[47]:


print(x-2)


# In[48]:


y=13


# In[49]:


print(y/2)


# In[51]:


z=5


# In[52]:


z=z+1 # = z++ , z+=1


# In[53]:


z


# In[55]:


z*=2
print(z)

