DEV Community

loading...
Cover image for Day 3 of 100DaysofCode: Adventure Game 💎

Day 3 of 100DaysofCode: Adventure Game 💎

fatihms profile image Fatih Mustafa Sağır ・1 min read

Hi there! Today is Day 3 of 100 Days of code.

I learned a lot of new things today. I also did my third project in programming python.

What I learned today,

Conditional Statements ✅

num = 27
if num < 20:
  print("The value is less than 20")
else:
  print("The value is greater than 20") # print
Enter fullscreen mode Exit fullscreen mode

Logical Operators ✅

true and false # false
true or false # true
not true # false 
Enter fullscreen mode Exit fullscreen mode

Code Blocks ✅

Scope ✅

The final project was an adventure game.

Project

Treasure Island 💎

Alt Text

Here's the Github repo and repl.

Discussion (0)

pic
Editor guide