# Globalget and globalput function in PyTeal and branching IF

**URL:** <https://forum.algorand.co/t/globalget-and-globalput-function-in-pyteal-and-branching-if/3284>\
**Category:** General\
**Tags:** teal, smart-contracts\
**Created:** [May 13, 2021, 4:21pm UTC](https://forum.algorand.co/t/globalget-and-globalput-function-in-pyteal-and-branching-if/3284 "2021-05-13T16:21:54Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![fabrice](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@fabrice](https://forum.algorand.co/u/fabrice)\
**Post date:** [May 14, 2021, 3:05pm UTC](https://forum.algorand.co/t/globalget-and-globalput-function-in-pyteal-and-branching-if/3284/7 "2021-05-14T15:05:21Z")

</div>

But what does your `approval_program()` look like? You can remove the parts you want to hide, but keep the general structure.

---

_[View the full topic](https://forum.algorand.co/t/globalget-and-globalput-function-in-pyteal-and-branching-if/3284)._
