• Register
1 vote
17 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

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.

 

7 4 2
10,530 points

Related questions

0 votes
2 answers 105 views
105 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 maddi86 5.4k points
1 vote
1 answer 419 views
419 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 9 views
9 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 sasha 1.2k points
0 votes
1 answer 351 views
351 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 mphil 2.3k points
0 votes
1 answer 5 views
5 views
I want to know how to call to an overloaded function be ambiguous.
asked Oct 4 Daniel Anderson 4k points