Posts

Showing posts with the label python do while loop

HBASE Vs. RDBMS Top Differences You can Unlock Now

Image
HBASE in the Big data context has a lot of benefits over RDBMS. The listed differences below make you understandable why HBASE is popular in Hadoop (or Bigdata) platform. Let us check one by one quickly. HBASE Vs. RDBMS Differences Random Accessing HBase handles a large amount of data that is store in a distributed manner in the column-oriented format while RDBMS is systematic storage of a database that cannot support a random manner for accessing the database. Database Rules RDBMS strictly follow Codd's 12 rules with fixed schemas and row-oriented manner of database and also follow ACID properties. HBase follows BASE properties and implement complex queries. Secondary indexes, complex inner and outer joins, count, sum, sort, group, and data of page and table can easily be accessible by RDBMS. Storage From small to medium storage application there is the use of RDBMS that provide the solution with MySQL and PostgreSQL whose size increase with concurrency and performance.  Codd'

Python: Do While Loop Real Examples

Image
While it is one of the loops in Python. The specialty is it never be false. You already know that in my previous post I have shared For Loop in Python . The for loop can be false. I am giving here one best example: print("Help! My computer doesn't work!") while True: print("Does the computer make any sounds (fans, etc.)") choice = input(" or show any lights? (y/n):") In the above logic, while is always true. When in input user can give 'Y/N'. if choice == 'n': # The computer does not have power print (" Do not show lights") if choice == 'y': # It is power plugged in print ("show lights") So, while is always true. Based on input the while loop works. Python is having the below list of Keywords. Pythons Reserved Words The Python reserved words are: and, exec, not, assert, finally, or, break, for, pass, class, form, print, continue, global, raise, def, if,