output

0

given a list of numbers, write a list comprehension that produces a list of only the positive numbers in that list. eg:- input = [-2, -1, 0, 1, 2] output = [1,2]

By Beginner Jean Zieme at Sep 03 2020

0

Consider the input [email protected] Here the first part is 'abc'. This is less than 5 characters in length, so replace all characters in the first part with * Hence, the output is: ***@gmail.com

By Wooden Hammer Doyle Pacocha at May 20 2021

0

int a=10,b=20,c=30; int x,y; x=(a,b,c); y =a,b,c; find the values of x and y ? output x=30 y =10

By Beginner Last_Guardian at Jul 14 2021

0

What will be output when you will execute following c code? #include int main(){ printf("%d\t",sizeof(6.5)); printf("%d\t",sizeof(90000)); printf("%d",sizeof('A')); return 0;

By Beginner Noel Bechtelar at May 02 2020

0

Write an expression that will cause the following code to print "Equal" if the value of sensorReading is "close enough" to targetValue. Otherwise, print "Not equal". Ex: If targetValue is 0.3333 and sensorReading is (1.0/3.0), output is:

By Beginner Kristin Klein at Nov 19 2020

1

Sample Input: ['a', 'b', ['c', ['d', 'e', ['f', 'g', 'h', 'i', 'j'], 'k'], 'l'], 'm', 'n'] Sample Output: [['c', ['d', 'e', ['f', 'g', 'h', 'i', 'j'], 'k'], 'l']]

By Beginner Pedro Tillman at Nov 29 2020

0

Implement any one sorting algorithm using TCP/UDP on Server application and Give Input On Client side and client should sorted output from server and display sorted on input side.

By Stone Hammer Rachel Rosenbaum at Apr 29 2021

0

Write a function isRed() that accepts a string parameter and looks for the presence of the word ‘red’ in the string. If it is found, return boolean True otherwise False. Finally output the result of calling the function with the value in text.

By Wooden Hammer Docteur SEO at Feb 03 2020

0

Modify the existing ArrayList contents, by erasing the second element, then inserting 100 and 102 in the shown locations. Use ArrayList remove() and add() only. Sample output of below program with input 101 200 103: 100 101 102 103

By Beginner Kristin Klein at Nov 19 2020

1

Complete output (15 lines): /bin/sh: 1: mysql_config: not found /bin/sh: 1: mariadb_config: not found /bin/sh: 1: mysql_config: not found Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-vtq4rl

By Beginner Flora Morissette at Jan 31 2021


Related code examples


Code examples by languages