Skip to main content

Posts

Appian function merge()

Lets have a look at merge() function . It takes a number of list and combines them to create a new list. Takes an element sequentially from each list and append it to the major list. Below are some of the examples. merge({ 10 , 50 }, { 60 , 40 }) Value 10 ; 60 ; 50 ; 40 merge({ 10 , 30 }, { 20 , 40 , 50 }) Value 10 ; 20 ; 30 ; 40 ; ; 50 merge({ 10 , 30 }, { 20 , 40 , 50 }, { 60 }) Value 10 ; 20 ; 60 ; 30 ; 40 ; ; ; 50 ; #After the last semicolon one elelent exist merge({ 10 , 30 }, { 20 , 40 , 50 }, { 60 , 70 , 80 }) Value 10 ; 20 ; 60 ; 30 ; 40 ; 70 ; ; 50 ; 80 merge({ 1 , 2 , 3 }, { 4 , 5 , 6 }) returns 1 , 4 , 2 , 5 , 3 , 6 Source
Recent posts

Swapping of variables

There are a couple of classical ways to do it. Let the variables be:- a = 5 b = 10 1. By using temporary variable "temp" (name as per your convenience). temp = a a = b b = temp 2. Without "temp" or any extra variable a = a + b   // 15 b = a - b   // b becomes 5 a = a - b   // a becomes 10 3. In Python like a Boss!! :D a, b = b, a

Solution Python QnA #1

Solution for Python QnA for November 14, 2018. # OUTPUT****************************************** >>> x = input () 12 >>> y = int ( input ( 'Please enter a number' )) Please enter a number45 >>> x + y Traceback (most recent call last): File "<stdin>" , line 1 , in < module > TypeError : must be str , not int >>> y + y 90 >>> x + x '1212' In this (x+y); addition of integer and string is not allowed. hence we get the TypeError.

Python QnA #1

Python QnA for November 14, 2018. >>> x = input () User response : [ 12 ] >>> y = int ( input ( 'Please enter a number' )) User response : Please enter a number[ 45 ] >>> x + y # What would be the output??

behind a Wall… Alright to work from a vpn

Seriously, its been numerous occasions that we run through the issues while downloading packages . Moreover things run seamlessly for many though many could not find the ladder. However the skeleton of ladder is nothing but:- Proxies Repos Firewalls or cleaning the above in various config files (apt.conf, local.conf, etc..) Finally Admins could be a great point of contact. Simple tweaks that hold off the work.. be sure to have these check points..

Appian 18.3 New End User experiences.

The newest version is Appian 18.3. Released in Aug 2018. New Native Mobile UI. Some components were not available earlier. Eg: Multi Column in Card Layout which was released with 18.2 . New SAIL component “Document Viewer”, a!documentViewerField(). Its like a web browser viewer. Eg: PDF, images, txt, xml. Email and Mobile Notification, push Notifications for news and sites. New Site Page Width for Ultra Wide Screens. Page Layout Setting as Full rather than Wide. Margins on Layouts can be configured. Padding below a layout; marginBelow: {“NONE”, “STANDARD”} Custom Color for Box Layout. Shortcut for Date and Time. Goto Date Field.   Click Down Arrow.   Then Press “T” to pick current values.   To delete (delete /(fn+delete)) clears the values on windows and MAC respectively.     Just a quick and very brief look on some of the features, will be adding more. For more detailed information with screen prints, below given Release notes link can be referred.