Cours
Cours
Compilateur de code
Compilateur de code
Discuter
Tarification
Équipes
Se connecter
S'inscrire
Menu
Discussions Q&R
Chercher
Chercher
Poser une question
Poser une question
What is the difference between an f-string and a string.format() method?
format
python
pythonstrings
string
stringformatting
1 Vote
2 Réponses
3rd Jun 2022, 10:01 AM
Dev 🇮🇳
Can you make the user input string?
c++
cin
input
string
0 Vote
3 Réponses
18th Dec 2016, 11:39 AM
AtomicComic2004
Can anyone please tell me the syntax of accepting line ( string ) as an input in c++ along with header file required for it ?
doubt
0 Vote
5 Réponses
4th Dec 2017, 4:14 PM
Bhushan Thakre
[SOLVED] Somebody please explain this :
bool
boolean
conditional
false
lower
python
solved
string
true
upper
0 Vote
14 Réponses
4th Apr 2019, 10:29 AM
Manish Kumar
simple yet a slight twist..help here out?
basic
int
java
maths
string
sum
3 Votes
5 Réponses
23rd Aug 2017, 4:23 PM
Shalmi
How do you read in characters from a string opened file and store them in 2D array? In particular, it should read ROWS lines,
#2darrays
#c++
0 Vote
3 Réponses
18th Jan 2019, 1:50 AM
Eviolet Rider
Write a function called longest which will take a string of space separated words and will return the longest one.
a
called
function
longest
of
string
take
which
will
write
0 Vote
1 Réponse
10th Jun 2018, 4:28 PM
Abiodun Mathew
I'm trying to output a function but it is an error in syntax at "if s==x"?Can you please help me?
if-statements
python
python3
string
0 Vote
3 Réponses
3rd Jul 2017, 3:39 PM
Metaphor_
How to print Strings from the longest to the shortest from table using lenght()? Java
java
lenght
string
table
0 Vote
1 Réponse
22nd May 2021, 3:44 PM
Martyna Tomaszewska
Can anyone give me optimised code in time complexity of O(n) ?
algorithms
c++
cpp
py
python3
string
1 Vote
1 Réponse
10th Nov 2019, 4:58 PM
A2G4
why got it this result in compare two string? javascript
compare
false
string
true
two
0 Vote
2 Réponses
17th Mar 2020, 5:06 AM
MetaCop
I have a book which says: "decimal.Decimal( ) function takes an integer or string argument but NOT float"
python
0 Vote
1 Réponse
13th Jul 2016, 10:17 AM
Adarsh Namdev
Is it possible to brake out of a scanner string input so it reads an int instead "purposely"?
a
escaping
java
string
0 Vote
1 Réponse
10th Jul 2017, 9:58 PM
D_Stark
How do I delete the last 3 lines of a file and append a new string in python3?
files
output
python3
0 Vote
1 Réponse
21st Mar 2017, 3:23 AM
Aaron Nelson
How can i fix when a user Enter a string instant of Entering a number? Help me out!
alert
html
javascript
prompt
0 Vote
1 Réponse
30th Jul 2018, 12:29 PM
Chaman Narved
i can not convert from string to int after pass the variable from another activity in android studio
android
java
0 Vote
1 Réponse
10th Jan 2018, 12:52 AM
ALAMOUDI, WAEL MAKKI S
Is there any return type other than void or int that can return string so that we can use this return type instead of using cout
c++
return
1 Vote
3 Réponses
20th Feb 2019, 9:50 AM
Dash
how to determine the number of pairs of a string separated by hyphens? example: "2-1-4-6-8-7" the number of pairs would be: 4
java
strings
0 Vote
2 Réponses
11th Dec 2018, 2:32 AM
Anthoni Hernandez
What is the logic behind string comparisons, why ("H">"c") is False and ("H">"C") is True? How does the case sensitivity works?
booleans
python
1 Vote
2 Réponses
19th Apr 2017, 8:27 AM
Jeffrey Wong
Create a function disp3char which takes a string as a parameter and displays all the 3 letter words of the sentence.
functions
looping
string,
1 Vote
2 Réponses
26th Jan 2018, 1:31 PM
Harsh
A bit confused with inheritance. How to assign values in sub class for string variables which are declared in super class?
inheritance
java
strings
1 Vote
2 Réponses
29th Jul 2016, 5:49 PM
Zia
Please, explain how x is a local variable and where my defined function is wrong??
from
python
remove
string
vowels
1 Vote
4 Réponses
4th Nov 2017, 4:34 AM
Abhinav
Lambda function error
format
function
kotlin
lambda
string
1 Vote
1 Réponse
10th May 2022, 6:32 AM
Akash Agrawal
Can someone help me in below code, I have used both if and switch to compare string in golang but both of them are not working
go
golang
if
ifelse
strings
switch
0 Vote
1 Réponse
17th Aug 2021, 2:05 PM
Muhammad Owais Mushtaq
Whats the use of data type string?
c++
data
string
type
1 Vote
2 Réponses
22nd Jan 2018, 3:28 PM
unknown
How Do I assign a variable in a class by using = operator (like we do with int, string and the other data types) ?
=
c++
classes
operator
with
0 Vote
3 Réponses
7th Aug 2018, 10:01 AM
Mustafa K.
How is it possible to store incoming String data from a File into a 2D Array, by means of storing the initial incoming data into
array
file
io
java
saving
to
0 Vote
4 Réponses
23rd Apr 2017, 9:57 PM
Billy Whitchurch
Can we concatenate two character and store in another char or character array to print a string in C ?
array
pointer
0 Vote
1 Réponse
7th Sep 2018, 7:48 AM
deepanshu samdani
I want to ask if there is a set of string is there like words=["Hi","Hello","Bye","See u"]and I want to print upto "Bye" then how can I do it using for loop
loops
python
1 Vote
6 Réponses
1st Dec 2016, 7:48 PM
Srinu
Challenge #8
8
challenge
left-right
reverse
string
2 Votes
3 Réponses
25th Nov 2017, 9:37 AM
Amar Dahake
3. Write a program to print the following output for the given input. You can assume the string is of odd length .
c++
java
1 Vote
1 Réponse
28th Sep 2017, 12:04 PM
karthik
Can anyone plz explain this code in easy words?
arrays
c++
characters
string
0 Vote
1 Réponse
10th May 2022, 5:34 PM
Muhammad Talha Atif
Can any just tell me the code : to covert string to integer by creating a function in python?
code
functions
python3
-1 Vote
1 Réponse
1st May 2020, 12:59 PM
Sooraj Kumar.A.R
In Python how do I take the input x and y and output x,ytimes given that x is a string and y an integer
variables
0 Vote
2 Réponses
1st Sep 2021, 10:58 AM
Mikah Hannah
Всем привет господа и дамы.
java
mysql
sql
string
website
welcome
1 Vote
1 Réponse
24th Jan 2022, 4:05 PM
Азизов И. А.
How can I extract letters from a single word in Python?
extract
letter
python
python3
string
word
0 Vote
3 Réponses
2nd Apr 2020, 8:02 AM
X-PLORE BIPUL
s is a string of lower case characters. Write a program that prints the longest substring of s which is in alphabatical order
dictionaries
loops
strings
2 Votes
1 Réponse
3rd Oct 2017, 11:47 AM
vivek kustwar
What is wrong with my code? I always get 5% wrong even when its working perfectly in IDE.
2760
5%
c++
solved
string
uri
wrong
0 Vote
5 Réponses
21st Jun 2021, 9:28 AM
Samia Haque
[SOLVED] Can someone show me how char works
char
computer
help
int
java
lesson
letter
number
speak
string
1 Vote
9 Réponses
1st Mar 2021, 6:33 PM
Serana Zentha
Write a java main () program that declares two arrays: NAMES an array of String and SCORES an array of int
2
-1 Vote
3 Réponses
1st Dec 2017, 12:10 PM
muad
Input: abc123vcx output: abcvcx123 how to print it in Java without using inbuilt functions
character
java
string
urgent
1 Vote
2 Réponses
1st Sep 2017, 5:26 AM
Mohan
SOLVED: Why is code in Python beginners course chatbot v1.1 saying error when it seems to be same as solution?
code
concatenation
error
help
python
string
1 Vote
2 Réponses
14th May 2023, 9:15 AM
Keturah Cutting
Dear friends ... I am begineer in python .Regarding i have small doubt on this below code .I want to print number or string fro
python3
-1 Vote
3 Réponses
10th May 2021, 6:47 AM
Nandha kumar
How to stop Sklearn converting values to float
bug
dtypr
float
numpy
pandas
python
python-3
sklearn
string
type
3 Votes
9 Réponses
19th Jul 2020, 2:56 PM
Clueless Coder
Why there is no output?
array
arrays
c++
help
string
0 Vote
2 Réponses
5th Oct 2019, 6:30 PM
Neon
How can i receive a string in a function returned by another function in C? is this process right?
function-arguments
functions
return
strings
0 Vote
1 Réponse
18th Jun 2020, 9:35 AM
WaYR🇧🇩
[SOLVED] For loop with setTimeout
for
javascript
loops
settimeout
string
variables
0 Vote
5 Réponses
7th Sep 2018, 11:17 AM
🌴Vincent Berger🌴
Problem with C#: User Input
c#
input
int
readline
string
user
1 Vote
3 Réponses
1st Mar 2020, 7:06 PM
William Knight
How to remove vowels in a string using one while loop and one or a couple of if statements ?
python3
0 Vote
2 Réponses
20th Apr 2017, 2:22 PM
Relo
Write a program to input a string and to count the number of vowels, consonants, words and commas in it.
python
python3
0 Vote
1 Réponse
22nd Nov 2018, 5:16 PM
iamlegend
Poser une question
Poser une question
Poser une question
Poser une question
< Précédent
1
...
82
83
84
...
89
Suivant >
Aujourd'hui en vedette
Thread local : global vs local
0 Votes
Postgrrsql and python
0 Votes
Data Analysis Course
1 Votes
Web vs python
0 Votes
Is there LUA?
0 Votes
Which courses should i take for robotics?
1 Votes
url of code playground for HTML, CSS & JS
0 Votes
Is there a way to report something wrong?
0 Votes
tabla empleados sql
0 Votes
I want to learn why this error occurs in "while loop" function of Pythone.Can someone explain to me?
1 Votes