Featured Post

Python: Built-in Functions vs. For & If Loops – 5 Programs Explained

Image
Python’s built-in functions make coding fast and efficient. But understanding how they work under the hood is crucial to mastering Python. This post shows five Python tasks, each implemented in two ways: Using built-in functions Using for loops and if statements ✅ 1. Sum of a List ✅ Using Built-in Function: numbers = [ 10 , 20 , 30 , 40 ] total = sum (numbers) print ( "Sum:" , total) 🔁 Using For Loop: numbers = [ 10 , 20 , 30 , 40 ] total = 0 for num in numbers: total += num print ( "Sum:" , total) ✅ 2. Find Maximum Value ✅ Using Built-in Function: values = [ 3 , 18 , 7 , 24 , 11 ] maximum = max (values) print ( "Max:" , maximum) 🔁 Using For and If: values = [ 3 , 18 , 7 , 24 , 11 ] maximum = values[ 0 ] for val in values: if val > maximum: maximum = val print ( "Max:" , maximum) ✅ 3. Count Vowels in a String ✅ Using Built-ins: text = "hello world" vowel_count = sum ( 1 for ch in text if ch i...

Top Tips You Need to Create Mobile Apps

Before you start creating mobile applications, you need to understand two things. There are two mobile application types. Namely Native and Web applications.
Mobile applications are two types.Those are Native and Web applications. 
Mobile applications
Photo Credit: Srini

Native applications

  • Each mobile operating system you need to create one version. Native applications are platform dependent. The disadvantage is you need to create multiple versions.
  • Develop apps only on that platform
  • These apps not portable

Web applications

  1. The web applications are platform independent. They work for all mobile operating systems. These applications are browsable using any popular browsers.
  2. These apps are browsable from any popular web browsers

4 Top Mobile Platforms

  1. iOS 
  2. Android 
  3. Windows Phone 7 
  4. Blackberry OS 

4 Top Tablet Platforms

  1. iOS 
  2. Android 
  3. Blackberry OS 
  4. Windows 8

Related

Comments

Popular posts from this blog

SQL Query: 3 Methods for Calculating Cumulative SUM

5 SQL Queries That Popularly Used in Data Analysis

Big Data: Top Cloud Computing Interview Questions (1 of 4)