a = [[], "abc", [0], 1, 0]print(list(filter(bool, a)))
class output{public static void main(String args[]){StringBuffer s1 = new StringBuffer("Aisiri");StringBuffer s2 = s1.reverse();System.out.println(s2);}}
#include stdio.h //Program 12int main(){int d, a = 1, b = 2;d = a++ + ++b;printf("%d %d %d", d, a, b);}
#include stdio.h //Program 2int main(){int d, a = 1, b = 2;d = a++ +++b;printf("%d %d %d", d, a, b);}
import java.util.*;class Arraylist{public static void main(String args[]){ArrayList obj = new ArrayList();obj.add("A");obj.add("B");obj.add("C");obj.add(1, "D");System.out.println(obj);}}
#include stdio.hstruct point {int x;int y;};void print(struct point p){printf("%d %d\n", p.x, p.y);}int main() {struct point pl = (34, 55);struct point p2 = (76, 92);print(p1);print(p2);return 0;}