PYTHON SYNTAX _12/14

Booleans










Exercise 

1.Someone has introduced themselves to you using comments in script.py.
Read the comments and then create a variable called age_is_12 and set it to be True or False depending on if this person's age is 12.

HINT! To set a boolean to True, you would use:
some_variable = True
2. Create a variable called name_is_maria and set it to be True or False depending on if this person's name is Maria.
SOL.

6 comments:

  1. Hi, thanks for your blog, if you want to learn about programming languages like java, php, android app, embedded system etc. I think this training institute is the best one.
    best python training in coimbatore
    Android training in coimbatore
    Networking training in coimbatore

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. Thanks for sharing this blog. The content is beneficial and useful. Very informative post. Visit here to learn more about Data Mining companies and Data analytics Companies. I am impressed by the information that you have on this blog. Thanks once more for all the details.Visit here for Top Data Migration Companies.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete
  5. This comment has been removed by a blog administrator.

    ReplyDelete

Powered by Blogger.