Category programming

Characters and Strings in Go Language

Go Programming language has two data types rune and string that are used to define characters and strings in go respectively Characters in Go Characters are runes in go language, rune literals are expressed in single quotes (‘) . Where,…

Looping in Go Programming Language

Go language has only one looping construct, that is for. There are three forms of for loops in Go. For can be used with single condition much like while loop in other programming language, a “for” clause which much like…

Types of function arguments in python

Python Function - Argument Types
Unlike many other programming languages python supports multiple types formal arguments in the function definition. It is one of the flexibility that python offers. Types of function (formal) arguments that python supports, Parameters VS Arguments Actual VS Formal Arguments Regular…

Python keyword only arguments

Python Keyword-Only Arguments
Python 3 got new feature called keyword-only arguments. Python has already a support for variables length positional arguments and variable length keyword arguments. Jump to, Current Syntax Keyword Only Arguments Keyword Only Arguments Syntax Keyword Only Arguments with no varargs…