Skip to content

Instantly share code, notes, and snippets.

@gauravkoradiya
Created April 19, 2020 08:06
Show Gist options
  • Save gauravkoradiya/e11c42e00ce5f493888ea6fe368a3180 to your computer and use it in GitHub Desktop.
Save gauravkoradiya/e11c42e00ce5f493888ea6fe368a3180 to your computer and use it in GitHub Desktop.
Codechef_DSA01 - Life, the Universe, and Everything - TEST
"""https://www.codechef.com/LRNDSA01/problems/TEST"""
def main():
"""if input is 42 than stop the processing"""""
x = int(input().strip())
while x != 42 :
print(x)
x = int(input().strip())
if __name__ == '__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment