Featured Posts

CS50 Python , Nutrition Facts Table

Image
Nutrition Facts: Python Practice for Beginners Nutrition Facts Table for Python Practice Welcome to this comprehensive guide for Python beginners! If you are learning how to work with lists, dictionaries, and loops, this post will help you build practical skills using a real-world example: nutrition facts for fruits. Understanding how to organize and manipulate data is a key part of programming, and this exercise will give you hands-on experience. Below is a sample table of fruits and their calorie values, formatted as a Python list of dictionaries. This structure is ideal for coding exercises, projects, or even building your own nutrition calculator. You can expand this list, add new fruits, or use it as a foundation for more advanced Python tasks. Python List of Dictionaries Example: fruits = [ {'name': 'Apple', 'calories': 130}, {'name': 'Avocado', 'calories': 50}, {'name': 'Banana', 'ca...

None, is it Singular or Plural?

 "None" .. How to deal with it?

None, is it Singular or Plural?
Does None mean Nothing?

Have you ever wondered whether to choose "none is" or "none are"? Maybe you would like to say "It's none of your business?

What is "None"?

"None" as a word is defined as "an indefinite Pronoun", and it means "not one", "not any", or "nothing". It can be used as "an adverb", and it means "not at all".

None .. Singular or Plural?

The final result of a debate between grammarians is that "none" can be both Singular and Plural depending on what the speaker means.

This is the general but I will help you differentiate:

"None" as an indefinite Pronoun should agree with the noun / Pronoun to which it refers.

Plural

  • None of your words ARE carefully chosen. ("words" is plural, so it takes a plural verb)
  • None of my friends ARE going to the movies .
  • Three people WERE in the bar. None of them were women.
  • None of the books ARE worth reading. (more familiar)
  • I bought many pencils, but none of them ARE suitable for drawing.

Singular 

not one , nothing, mass nouns, not any

  • None of your words IS carefully chosen. (Though same sentence, but here "none of" would mean a subset of "words" meaning "not a one word". So, it can be singular.)
  • None of your advice IS helpful. ("advice" is a singular mass noun, so "none" takes a singular verb form "is".)
  • She ate it all , and none is left. (nothing left).
  • None of the members is going to vote. (no one, not one)
  • None of the snow has melted. (not any part of the snow)
  • None of the books is worth reading. (correct but less familiar)
  • None of the gossip was about me. (not any part of the gossip. Also, "gossip is a mass noun." )



Comments

Popular posts from this blog

فرصتك للدراسة في ألمانيا: منحة ممولة بالكامل لطلاب الدراسات العليا

How to Deactivate Screen Reader in Kali Linux

Murphy's Law: Expect the Unexpected

Python 3.2.1.14 LAB: Essentials of the while loop

Data Analysis Roadmap 2026: From Excel Lover to Python-Powered Analyst