in Education by
Write the output: num=1 def myfunc(): num=10 return num print(num,end=’ ‘) print(myfunc()) Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
Answer: num=1 def myfunc(): num=10 return num print(num,end=’ ‘) print(myfunc()) Explanation: plz like and mark me as brainiest

Related questions

0 votes
    write the statement to convert a number stored in a string variable ‘num’ to a double data type. Select the correct answer from above options...
asked Dec 23, 2021 in Education by JackTerrance
0 votes
    int find(int i) { if(>1) j=find(j/10)+(j%10) else j=0; return j; void main() int i=1000 int k k=find(i): printf(“%d”, K) Select the correct answer from above options...
asked Dec 29, 2021 in Education by JackTerrance
0 votes
    int find(int j) { if(>1X j=find(j/ 10)+(%10); } else { j=0; return j; void main() int i=1000, int k; k=find(i); printf(“%d”, k); Select the correct answer from above options...
asked Dec 29, 2021 in Education by JackTerrance
0 votes
    int n=10;int res=(n–+10>–n×5)?++n:n++ System.Out.println(res+”,”+n); what is the output Select the correct answer from above options...
asked Dec 30, 2021 in Education by JackTerrance
0 votes
    . 1. Find the output of the following programs. (a) 10 LET AS = “HELLO” 20 LET BS = “FRIENDS” 30 PRINT AS:BS 40 END Select the correct answer from above options...
asked Nov 29, 2021 in Education by JackTerrance
0 votes
    write the output statement in java ?? answer also in very long and also not in very short Select the correct answer from above options...
asked Dec 27, 2021 in Education by JackTerrance
0 votes
    write the output statement in java ?? answer also in very long and also not in very short Select the correct answer from above options...
asked Dec 26, 2021 in Education by JackTerrance
0 votes
    Write the python statement and the output for the following: (a)Find the third occurrence of e' in sequence'. ... 'Yugaan' or not. Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
    Write the output of the following code: str2=list( ***@123* ) for l in range(len(str2)-1): if l==5: str2[i ... str2[i]='D' print(str2) Select the correct answer from above options...
asked Dec 23, 2021 in Education by JackTerrance
0 votes
    Write the output: def multiply(a,b): r=a*b print(a,”*”,b,”=”,r) multiply(5,5) Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
0 votes
    Write the output for the following i) char c = ‘A’ ; int m = 26 ; int n = c + m ; System.out.println(“ n = “ +n) ; Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    Write the output for the following i) char c = ‘A’ ; int m = 26 ; int n = c + m ; System.out.println(“ n = “ +n) ; Select the correct answer from above options...
asked Dec 18, 2021 in Education by JackTerrance
0 votes
    do you think the following two expression are the same if yes write the output if not justify your answer X=int(22/7) X=(22.0/7) Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
...