{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

global1 - def show_value print my_value Call the show_value...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
# Create a global variable. my_value = 10 m # The show_value function prints # the value of the global variable.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: def show_value(): print my_value # Call the show_value function. show_value() s...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online