• Register
1 vote
24 views

Problem:

Can anyone guide me with the right solution as I am new and learning programming?
Write the code to call the function named send_signal. there are no parameters for this function?

 

7 5 3
5,380 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution: 

In starting i was also facing same type of problem but once you learn and practice you will be clear with coding.

Solution you need is 

send_signal()

or

def send_signal(): # function definition

  print("The function is called without any parameter.")  #print statement

send_signal() #function is called without parameter.

 

8 5 2
10,530 points

Related questions

0 votes
1 answer 19 views
19 views
Problem: Hi there! I am new to the world of programming. My programming teacher gave me an assignment in which I have to write a program in which there would be a function that will take two strings as input from user and will compare the size of both strings ... the larger string of the two. I have no clue how to do that. Please provide me with the sample program with proper description. Thanks
asked Nov 25, 2020 Code Learner 5.2k points
0 votes
2 answers 243 views
243 views
Problem: I am new to programming, so need query to get query to return max number from 3 integer? Write the definition of a method max that has three int parameters and returns the largest? Can anyone guide with correct code?
asked Feb 17, 2020 maddi86 5.4k points
1 vote
1 answer 841 views
841 views
Problem : Getting following error while executing function no function matches the given name and argument types. you might need to add explicit type casts.
asked Nov 11, 2019 peterlaw 6.9k points
0 votes
1 answer 12 views
12 views
I have this code: int max1 (int a, int b) {int m = a;  if (b> m) {m = b;  } return m;  } int main () {cout<< max1 (5,6) <<endl;  cout<< main () <<endl;  return 0;  } I have wanted to test that code but am afraid my computer will be damaged. What happens if the main () function is called?
asked Oct 1, 2020 sasha 5.3k points
0 votes
1 answer 454 views
454 views
Problem : I am new to PHP. When I am trying to execute my PHP code then I am facing below error ( ! ) Fatal error: Cannot use isset() on the result of a function call (you can use "null !== func()" instead) in C:\Users\ mphil\Documents\NetBeansProjects\ ... 45 Call Stack #   Time    Memory  Function    Location 1   0.0000  234208  {main}( )   ..\index.php:0 Please help me in fixing this issue.
asked Feb 15, 2020 mphil 2.3k points
0 votes
1 answer 14 views
0 votes
1 answer 3 views
3 views
Problem Hey, I have a line of code which is causing an error for the name that can&rsquo;t be assigned to the function call.can please help me to fix this error. Please try to answer in easy to understand manner. This will be great for me Code: invest( ... ) = subsequent_amount Error: SyntaxError: can't assign to function call How can I fix this error to make this value of the function call.
asked 3 days ago chris jordan 2.2k points
0 votes
1 answer 8 views
8 views
I want to know how to call to an overloaded function be ambiguous.
asked Oct 4, 2020 Daniel Anderson 4k points
0 votes
1 answer 10 views
10 views
What i am attempting to make a easy connection with XAMPP and MySQL server, however whenever I attempt to enter data or connect to the database, i obtain this error. Why this is happen and how to solve it?
asked Sep 14, 2020 Daniel Anderson 4k points
0 votes
1 answer 89 views
89 views
can someone help me why i am seeing &ldquo;PHP Fatal error: Uncaught Error: Call to undefined function mysql_query() in /Applications/MAMP/htdocs/lprapp/config.php:23 Stack trace:#0 {main} thrown in /Applications/MAMP/htdocs/lprapp/config.php on line 23&rdquo&rdquo; this error and how to resolve it.
asked Sep 14, 2020 Daniel Anderson 4k points