Courses
Courses
Code Compiler
Code Compiler
Discuss
Pricing
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
Python task to define a function that checks if a word existed in a text.. still got this code wrong
boolean-logic
function-arguments
if-statements
loops
print
python
python3
-1 Vote
5 Answers
8th Dec 2021, 5:05 PM
Amr Monsef
Define a class complex to represent complex number. The class should have constructor with 2 default parameters. More info in
c++
classes
operator-overloading
0 Votes
9 Answers
22nd Jan 2018, 6:36 AM
kalpesh Dharpure
i can not define the dictionary, which is the bast way to do it?
#question
0 Votes
1 Answer
18th Sep 2020, 7:08 PM
Lucciano Campassi
what is the difference between const and # define function and where it can be used
constants
0 Votes
2 Answers
27th Jan 2019, 7:17 AM
SaiRam
How to define an array in Python and how an array is different from a list?
arrays
lists
python
python3
3 Votes
1 Answer
19th Jun 2017, 4:20 AM
snoɯʎuou∀
Is there any difference of speed when we define an object of a template class by mentioning data type and the same by not ....?
c++
templates
8 Votes
2 Answers
25th May 2019, 6:17 AM
//(AnOnYmOuS);
How to create array of certain number of students using OOP to define student class
c++
classes
oop
1 Vote
1 Answer
17th Jun 2019, 11:18 AM
walka
#include <stdio.h> #define prod(i,j) i*j int main() { int x=3,y=4; printf(" %d \n",prod(x+1,y)); } output :7
c
define
preprocessor
0 Votes
2 Answers
21st Nov 2019, 6:03 PM
mohamed Issati
Why java script class have more ways to define a class ? Which way is prefer ?
java
oops
script
1 Vote
1 Answer
29th Oct 2019, 2:30 PM
Programmer Raja
Should we define all the methods in source files which are declared in headers.?
c++
classes
1 Vote
1 Answer
11th Jan 2017, 1:48 PM
Mourya Karan
What is the while loop in c++? Its functions how does it work? Define please
c++
2 Votes
1 Answer
29th Sep 2017, 7:54 AM
[No Name]
program for define class ,define instance methods and overload them and use them for dynamic invocation
java
0 Votes
1 Answer
31st Jul 2017, 5:06 AM
sunil thakare
Why would you use class in Html to define italics when you could just use <I> ?
css
font
0 Votes
4 Answers
22nd Mar 2016, 11:52 AM
Menelik Simpson
Does needing an input make it possible to define functions after the main function.
c++
0 Votes
1 Answer
25th Jan 2017, 4:30 PM
emily gilespie
What if you define a function with a name func? what will happen then?
functions
python
-2 Votes
3 Answers
27th Jul 2016, 4:20 PM
Jan
Someone would help me answer ¿who should define the requirements with which a computer program should be developed ?
any
1 Vote
4 Answers
23rd May 2019, 10:52 PM
Ändreä Guzman
Which error occurs when I use #define a=6; and the assign it some other value say a=9;
c++
define
error
1 Vote
1 Answer
18th Jun 2019, 2:22 AM
Akash Raj
Without declaration of a function how we can call or define a function? I think compiler should give an error but its not.
function
functions
prototyping
1 Vote
7 Answers
7th Mar 2019, 8:33 AM
Rimsha Bibi
How to store a user define value asked in a function in a variable which is outside of the function ??
python
0 Votes
6 Answers
28th Sep 2020, 5:45 AM
Chris Evans
[python] How to pass a string and use it to define the name of a class to be instantiated?
classes
methods
python
3 Votes
3 Answers
25th Feb 2018, 9:36 PM
kaduribeiro
When i define z=print(dict,end="") i get the output in one line?and the list output is dismiss but why?
python
1 Vote
2 Answers
24th Feb 2022, 7:03 AM
SK SANOWAR
Can we use the previously define function name for defining another function as it can be assigned with some other name?
functions
python
1 Vote
7 Answers
30th Jun 2016, 6:47 AM
Rituraj Mehra
Can someone please help me define the following: Programming environment, basic syntax, data type, variables, keywords.
programming
0 Votes
2 Answers
6th May 2018, 10:51 PM
Gabriel Ezomo
What is the use of User-made functions? wouldn't it be easier to define a var? Or do I have functions mixed up?
python
0 Votes
7 Answers
16th Aug 2019, 9:55 AM
Alec Deranian
instead of "odd or even" function i used a remainder of 2 to define the condition
python
recursion
0 Votes
1 Answer
26th Nov 2018, 9:35 AM
umar
C++ Fill in the blanks to define a destructor for class ''MyClass'', which prints some text in its body on the screen.
c++
destructors
0 Votes
6 Answers
29th Dec 2016, 4:05 PM
Anees Hassan
can i define a function that asks for a user input add then prints the result.
functions
python
2 Votes
1 Answer
16th Aug 2016, 7:51 AM
Kaka
Fill in the blanks to define a function that prints "Yes", if its parameter is an even number, and "No" otherwise. even(x):
functions
python
-2 Votes
5 Answers
21st Jun 2019, 6:20 AM
Pooja Jadhav
Function definitons help
define
functions
python
0 Votes
1 Answer
6th Apr 2020, 9:04 AM
Aj Patil
What is ruby Classes on scripts but does not define right answer available in options.
ruby
0 Votes
1 Answer
2nd Mar 2017, 5:54 PM
Cameron Dewitt
Why every class in java/ OOPL (Object oriented programming language) define in a separate file?
c#
java
php
0 Votes
1 Answer
25th Jun 2018, 3:05 PM
Sandeep Kushwaha
Can I define something in HTML to set all of my hyperlink targets to "_blank"?
css
define
html
hyperlink
predefined-variables
redirect
0 Votes
1 Answer
27th Sep 2017, 2:11 PM
Brandon Shaw
We define a function outside of the main function so how is it that we use it inside the main function?
functions
2 Votes
2 Answers
23rd Oct 2019, 9:12 AM
Emad
what is the difference between foreign key and primary key?? what is the Syntex to define these two??
sql
1 Vote
3 Answers
5th Sep 2016, 4:09 PM
Dheeraj Kumar Adya
guy's please help me in this question I wrote define . but after word age I don't know what I should write
constants
php
0 Votes
8 Answers
1st Jul 2016, 7:15 PM
Abdo Zaki
How can I use audio and video in my webpage(how can I define like for image we use drop box)
audio
video
0 Votes
4 Answers
6th Oct 2020, 6:31 AM
Sukant Tripathy
How do you define a function while calling for user input?? I need to solve this, I'm a beginner to Python
argument
call
define
function
input
python3
user
2 Votes
2 Answers
22nd Feb 2018, 4:28 PM
Josh Redmon
Defining a function question!
beginner
define
functions
python
1 Vote
3 Answers
25th Mar 2018, 3:50 AM
Robbie Jones
Is defining a variable necessary ?
.net
c#
clr
define
variables
1 Vote
6 Answers
4th Jan 2022, 10:07 PM
Mick
If i define class car then how to put methods to the user to assign object in that class?
python
python3
0 Votes
3 Answers
30th Oct 2018, 3:26 AM
Pranay Bhoir.
Complete the declaration to define an animation named spin with a duration of 3 seconds that will repeat forever
css
0 Votes
2 Answers
12th Feb 2025, 3:05 PM
SolBadguy
Can some buddy help me in adding functions in dict , so we can call the function by user define name
python3
1 Vote
2 Answers
29th May 2021, 3:59 PM
Adarsh Meshram
#define and const differences
c
c++
constants
define
2 Votes
1 Answer
6th Jul 2020, 5:18 PM
Maksim
Who may suggest the most convenient and easy way to define single (not iterable or hashable) named CONSTANT in Python?
constant
immutable
python
1 Vote
2 Answers
24th May 2020, 2:20 PM
John
Define a class Mobile to store the details of a mobile (company, model & price) with the following methods:
can
help
me
you
1 Vote
2 Answers
20th Jan 2019, 6:38 AM
Sujith S
Is a macro different from a header file or are they the same?
define
header
MACRO
1 Vote
1 Answer
2nd Mar 2018, 6:30 AM
Prasun
When we define a string, do we cosider it as a list even we don't put it's mark?
lists
python
3 Votes
1 Answer
20th Apr 2017, 6:59 PM
Fatemah Abd El-Aziz
Fill in the blanks to define a generic class, which has a member method that returns the value of x. Temp { T x; public
c#
0 Votes
5 Answers
16th Sep 2016, 6:41 AM
Priyanka Pasalkar
What is the difference b/n const and #define
c++
const
define
difference
1 Vote
2 Answers
4th Sep 2018, 6:41 PM
estifanos
Define 4 functions add, sub, multiple, div and every function must be with 2 arguments and with return one need to call other
print
-1 Vote
7 Answers
30th Jul 2019, 6:50 AM
Suresh
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
9
10
11
12
Next >
Hot today
C pointers
2 Votes
Python
0 Votes
Guys help please
0 Votes
Slicing in python
1 Votes
Python question
1 Votes
Control flow
0 Votes
HTML
0 Votes
Front-end vs Full-stack
1 Votes
Which mobile offline app can I use for HTML
0 Votes
HOW CAN I CREATE A GAME AS BEGINNER
0 Votes