Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
Activity 1: FINAL
superscript
0 Vote
5 Réponses
15th Jan 2024, 6:19 AM
CRISANTO GALLEGO
why 1: False in output?
dictionaries
0 Vote
4 Réponses
30th Aug 2017, 1:06 PM
Masroor Javadi
proot info: vpid 1: terminated with signal 11
1:
11
info:
proot
signal
terminated
vpid
with
0 Vote
1 Réponse
15th Apr 2021, 7:34 PM
Prem Mane
a = {True: 'yes', 1: 'no', 1.0: 'maybe'}
python3
0 Vote
1 Réponse
9th Apr 2020, 2:54 AM
SUMIT CHAUHAN
Anyone knows why output key 1: is not 'apple'
dictionaries
0 Vote
1 Réponse
1st Dec 2020, 5:29 AM
Jingyi Zhao
[EASTER CODING CHALLENGE] Round 1: Help the Easter bunny draw a map
challenge
easter
4 Votes
7 Réponses
15th Apr 2017, 9:33 AM
Tob
<?php $x=rand(1,3); switch ($x) { case 1: echo "One"; break; case 2:
php
0 Vote
4 Réponses
9th Aug 2019, 2:52 AM
Rajat Khatore
Why does my code not work for axis = 1: I want to stanardize a matrix
numpy
python
standardize
5 Votes
6 Réponses
7th Jun 2021, 2:41 PM
Oma Falk
def factorial(x): if x == 1: return 1 else: return x * factorial(x-1) print(factorial(5))
recursion
0 Vote
4 Réponses
24th May 2020, 5:39 AM
ANONYMOUS
int x=3; switch(x){case 1: x+=x; case 2: x+=x; case 5: x+=x; default : x+=x}; cout<<x; output?
cpp
output
0 Vote
6 Réponses
25th Aug 2020, 7:05 AM
Harsh Kant
State the type of error and make it correct 1: switch (n>2) 2: System.out.println(100/0)
java
0 Vote
3 Réponses
26th Mar 2021, 12:41 AM
Neekhil Yadav
Please fill in the right keywords to test the conditions: (day_of_week) { case 1: case 2: case 3: case 4: case 5
(day_of_week)
conditions:
fill
in
keywords
please
right
test
the
to
6 Votes
9 Réponses
8th Jun 2019, 8:39 PM
Robert Ramirez
Help me write function that say how many of string 2 is in string 1:
python3
0 Vote
3 Réponses
30th Oct 2019, 6:43 PM
MohammadReza Yadollahi
(day_of_week) { case 1: case 2: case 3: case 4: case 5: document.write("Working Days"); ; case 6:
hard
0 Vote
4 Réponses
30th Nov 2021, 6:37 AM
ADITI NIGAM
What does f(31415927) return, for the following function definition?def f(x): d=0 while x > 1: (x,d) = (x/2,d+1) return(d)
python
2 Votes
6 Réponses
6th Feb 2018, 2:17 AM
kamalesh vra
What is, 1: the easiest and 2:the best tools for building Python application GUI?
gui
python
0 Vote
2 Réponses
28th Dec 2017, 6:13 AM
Husnil Khatimi
How to compare two strings (words) are equal in java.eg 1: 1)Kumar and 2)hello eg2: 1)project 2) project
beginner
0 Vote
5 Réponses
5th Jun 2020, 7:01 AM
sathish kumar
a = 2 if a == 1: print("one") else: if a == 2: print("two") else: if a == 3: print("ok")
help
-2 Votes
6 Réponses
16th Oct 2020, 2:55 AM
Hacker Tamil Tamila
What does f(31415927) return, for the following function definition?def f(x): d=0 while x > 1: (x,d) = (x/2,d+1) return(d)
python3
0 Vote
4 Réponses
16th Feb 2018, 3:16 AM
I Am a Baked Potato
Time to Practice Drag and drop to create a valid loop that outputs the numbers 5 to 1: x = 5 : print(x)
python
1 Vote
4 Réponses
24th Apr 2022, 5:36 PM
Jekalynn McKen
Help me I should get this as output. Group 1: ['Alice', 'Bob'] Group 2: ['Charlie', 'David'] Group 3: ['Eve', 'Frank']
give
output
0 Vote
2 Réponses
14th Dec 2023, 1:45 AM
vankudoth vittal
val = input("how many players") if val == 1: print("you are going to bat") else: print("choose ur field")
python
0 Vote
1 Réponse
15th May 2020, 11:06 AM
P.saradha
What is the value of f(255) for the function below?def f(x): d=0 while x >= 1: (x,d) = (x/4,d+1) return(d)
python
0 Vote
1 Réponse
2nd Feb 2019, 5:32 PM
Avijit Pal
Is this a valid way to write the switch statement? var day; switch (day=3) { case 1: ...
javascript
switch
-1 Vote
2 Réponses
7th Nov 2016, 9:28 AM
Stoobius
Find the factorial of a number Step 1: Start Step 2: Declare variables n, factorial and i. Step 3: Initialize variables factoria
algorithm
-1 Vote
2 Réponses
13th Sep 2022, 2:19 PM
Mayomae Chan
I want convert time of 12 hour format into 24 hour format like example 1: INPUT: 10:00:00AM OUTPUT: 10:00:00 EXAMPLE. 2: INPUT: 2:00:05PM OUTPUT: 14:00:05
if-statements
python
2 Votes
3 Réponses
1st Sep 2016, 3:16 AM
AKHILESH VVN
please help me i want to make a program where the program can check my input. ex 1: my input(string) : myprogram then my program print "your input containing 'p'"
java
1 Vote
8 Réponses
1st Sep 2016, 2:46 PM
Farhan Sindy
How can it be infinite if there stayed while 1 == 1: Because after first time "i" would be 2 and it's not any more while true: ?
loops
0 Vote
4 Réponses
5th Nov 2018, 12:52 PM
Benzema
def factorial(n): print("factorial has been called with n = " + str(n)) if n == 1: return 1 else: res = n * factorial(n-1) print
functions
recursion
0 Vote
1 Réponse
15th Jun 2020, 2:34 PM
Basemalzwawi Alzwawi
STEP 1: START STEP 2: SET size = 4 STEP 3: SET r = size. REPEAT STEP 4 to 9 until r !=0 STEP 4: SET s=0. REPEAT STEP 5 UNTIL s<(
java
0 Vote
3 Réponses
1st Nov 2020, 10:21 PM
Moon Scarlet
Can we write Char day =b; switch (day) case a: ...... case b: .... case c: ... instead of int day =3; switch(day) case 1: .. case 2: .... case 3: ...
java
switch
0 Vote
3 Réponses
7th Jul 2016, 6:48 AM
Raj shah
Method in python
-1
<
>
1:
def
function
h(x):
if
maximize
or
x
x
y
0 Vote
2 Réponses
15th Mar 2020, 4:22 PM
Njood Jasser
Poser une question
Poser une question
Poser une question
Poser une question
Aujourd'hui en vedette
Help please?
4 Votes
How to get better with problem-solving and programming
1 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
Odd even threads without condition variable
0 Votes
What is that z for
0 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Suggestions needed
4 Votes
Game development
0 Votes
Write a program to find the strings are in isogram or not
0 Votes