diff --git a/README.md b/README.md index a6cdd9c..3f5a440 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Review Assignment Due Date](https://classroom.github.com/assets/deadline-readme-button-22041afd0340ce965d47ae6ef1cefeee28c7c493a6346c4f15d667ab976d596c.svg)](https://classroom.github.com/a/EgsWxGsu) # Assignment 1 diff --git a/misoon.py b/misoon.py new file mode 100644 index 0000000..fae376f --- /dev/null +++ b/misoon.py @@ -0,0 +1,26 @@ +saxeli = "Misoon" +first_name = "John" +last_name = "Doe" +full_name = first_name + " " + last_name +print(full_name) +print("Data type of full_name:", type(full_name).__name__) + +age = 20 +print(f"You are {age} years old") +print("Data type of age:", type(age).__name__) + + +temperature = 20.3 +print(f"The temperature is {temperature} degrees") +print("Data type of temperature:", type(temperature).__name__) + + +is_hot = temperature > 30 +print(is_hot) +print("Data type of is_hot:", type(is_hot).__name__) + +print("\nExplanation of Data Types:") +print("- int (Integer): Whole numbers without decimals. Example: 5, -10, 0") +print("- float (Floating-Point): Numbers with decimals. Example: 3.14, -0.001, 20.3") +print("- str (String): Sequence of characters (text). Example: 'Hello', 'John Doe', '123'") +print("- bool (Boolean): Logical values, either True or False. Example: True, False") \ No newline at end of file