Posts

Featured post

Half pyramid pattern of numbers

Program: #include &lt stdio.h &gt int main() { int rows; printf("Number of rows: "); scanf("%d",&#34rows); //first loop for printing for(int i=1;i<=rows;i++) { //second loop for printing similar number in each //rows for(int j=1;j<=i;j++) printf("%d",i); } printf("\n"); return 0; }

Bootstrap Get Started

Bootstrap Tutorial Overview

  null null

Pydroid 3(python compiler) premium apk free download

  Pydroid 3 mod apk Android Version: 4.4 and up File Size: 51.79 Mb Get Link

Python tuple

Image
A tuple is a  sequence of immutable  Python objects. Tuples are sequences, just like lists. The main difference between the tuples and the lists is that the tuples cannot be changed unlike lists. Tuples use  parentheses () , whereas lists use  square []  brackets. Tuple is similar to list. Only the difference is that list is enclosed between square bracket, tuple between parenthesis and List has  mutable  objects whereas Tuple  has  immutable  objects. tuple=()   #empty tuple Example : Creating a tuple is as simple as putting different comma-separated values. Optionally, you can put these comma-separated values between parentheses also. t1=('a','b',1,2,3.14,"ApkZube") t2="a", "b", "c", "d" #tuple contain other list and tuple t3 =(1,2,3,['a','b','c'],('z',26)) print(t1) print(t2) print(t3) output of above example  : ('a', 'b', 1, 2, 3