Month: November 2020

Swift programming for Beginners – Swift Characters and Strings

(Swift for Beginners) Swift Characters and Strings In this tutorial, you will learn about characters and strings usage in Swift. You’ll also learn different operations that can be performed on strings and characters. What is a character? A character is a single symbol (letter, number, etc.). Character in swift are of Character type and is declared as: …

Swift programming for Beginners – Swift Variables, Constants and Literals

(Swift for Beginners) Swift Variables, Constants and Literals   In this article, you will learn about variables, constants, literals and their use cases in Swift programming. What is a Variable? In programming, variables are used to store data in memory which can be used throughout the program. Each variable must be given a unique name …

Swift programming for Beginners – Swift “Hello World” Program

(Swift for Beginners) Swift “Hello World” Program In this article, you will dive into Swift programming by writing a “Hello, World!” program. You’ll learn the basic syntax for a working Swift program. A “Hello, World!” is a computer program that is often used to illustrate the basic syntax of a programming language with a working …

Python Basics for Beginners – Python | Basic Operators

Python Basics for Beginners – Python | Basic Operators Operators are the constructs which can manipulate the value of operands. Consider the expression 4 + 5 = 9. Here, 4 and 5 are called operands and + is called operator. Types of Operator Python language supports the following types of operators. Arithmetic Operators Comparison (Relational) …

Python Basics for Beginners – Python | Variable Types

Python Basics for Beginners – Python | Variable Types Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in memory. Based on the data type of a variable, the interpreter allocates memory and decides what can be stored in the reserved memory. …

Python Basics for Beginners – Python | Basic Syntax

  Python Basics for Beginners – Python | Basic Syntax The Python language has many similarities to Perl, C, and Java. However, there are some definite differences between the languages. First Python Program Let us execute programs in different modes of programming. Interactive Mode Programming Type the following text at the Python prompt and press …

Python Basics for Beginners – Python | Introduction

  Python Basics for Beginners – Python | Introduction   Python is a high-level, interpreted, interactive and object-oriented scripting language. Python is designed to be highly readable. It uses English keywords frequently where as other languages use punctuation, and it has fewer syntactical constructions than other languages. Python is Interpreted − Python is processed at runtime …

Python Basics for Beginners – Why should I learn Python?

Python Basics for Beginners – Why should I learn Python? Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during 1985- 1990. Like Perl, Python source code is also available under the GNU General Public License (GPL). This tutorial gives enough understanding on Python programming language.   Why to Learn Python? …