menu
Qammunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Consider the following code: val = 50 def example(): val = 15 print (val) print (val) example) print (val) What is output? 1. 2. 3.
Ask a Question
Questions
Unanswered
Tags
Ask a Question
Consider the following code: val = 50 def example(): val = 15 print (val) print (val) example) print (val) What is output? 1. 2. 3.
asked
Aug 19, 2022
35.2k
views
5
votes
Consider the following code:
val = 50
def example():
val = 15
print (val)
print (val)
example)
print (val)
What is output?
1.
2.
3.
Computers & Tech
college
Zhanwen Chen
asked
by
Zhanwen Chen
9.0k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
3
votes
I got you bro the answer is 50, 15, 5
Copper
answered
Aug 26, 2022
by
Copper
7.5k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Jun 13, 2024
185k
views
Consider the following code: val = 25 def example(): val = 15 print(val) print(val) example(val) print (val) What is output?
Christopher Currie
asked
Jun 13, 2024
by
Christopher Currie
8.6k
points
Computers & Tech
college
1
answer
0
votes
185k
views
asked
Jun 25, 2024
1.1k
views
Consider the following code: val = 100 def example(): global val val = 50 print (val) print (val) example() print (val) What is output?
Mehrad Sadegh
asked
Jun 25, 2024
by
Mehrad Sadegh
8.0k
points
Computers & Tech
college
1
answer
0
votes
1.1k
views
asked
Nov 20, 2021
481
views
Val = 25 def example(): global val val = 15 print (val) print (val) example() print (val) what is the output?
Raj Aggrawal
asked
Nov 20, 2021
by
Raj Aggrawal
7.6k
points
Computers & Tech
middle-school
2
answers
1
vote
481
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.4m
questions
12.2m
answers
Categories
All categories
Mathematics
(3.7m)
History
(955k)
English
(903k)
Biology
(716k)
Chemistry
(440k)
Physics
(405k)
Social Studies
(564k)
Advanced Placement
(27.5k)
SAT
(19.1k)
Geography
(146k)
Health
(283k)
Arts
(107k)
Business
(468k)
Computers & Tech
(195k)
French
(33.9k)
German
(4.9k)
Spanish
(174k)
Medicine
(125k)
Law
(53.4k)
Engineering
(74.2k)
Other Questions
Seven basic internal components found in a computer tower
Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to put it in my own words because my English is not that good!
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qammunity.org