Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #482

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions 01_Day_Introduction/helloworld.py
Expand Up @@ -14,8 +14,8 @@
print(type(10)) # Int
print(type(3.14)) # Float
print(type(1 + 3j)) # Complex
print(type('Asabeneh')) # String
print(type('My name is Krystal')) # String
print(type([1, 2, 3])) # List
print(type({'name':'Asabeneh'})) # Dictionary
print(type({'name':'Krystal'})) # Dictionary
print(type({9.8, 3.14, 2.7})) # Set
print(type((9.8, 3.14, 2.7))) # Tuple
74 changes: 74 additions & 0 deletions 02_Day_Variables_builtin_functions/day2variables.py
@@ -0,0 +1,74 @@
# DAY 2 :30 DAYS OF PYTHON PROGRAMMING

# Declare a first name variabke and assign a value to it


from numpy import format_float_scientific
from seaborn import FacetGrid
from sympy import false


first_name = 'Krystal'

print(first_name)


#Declare a last name variable and assign a value to it

last_name = "Salinas"


print(last_name)

#Declare a full name variable and assign a value to it

full_name =(first_name , last_name)

print(full_name)

#Declare a country variable and assign a value to it
country="America"

print(country)



#Declare a city variable and assign a value to it
city = "San Antonio"

print(city)

#Declare an age variable and assign a value to it

age =36
print(age)
#Declare a year variable and assign a value to it
year = 2024
print(year)
#Declare a variable is_married and assign a value to it

is_married = False

print(is_married)
#Declare a variable is_true and assign a value to it

is_true = len(first_name )<3

print(is_true)
#Declare a variable is_light_on and assign a value to it
is_light_on ="Yes, light is on"



print(is_light_on)








#Declare a multiple variable on one line

print(first_name, is_light_on, year, last_name)