This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Gist Created By Saksham ChhimwalAt 1668678213 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def main1(): | |
for i in range(1,3): | |
print(i) | |
if(i<5): | |
print("Yes") | |
else: | |
print("NO") | |
def main(): | |
for i in range(1,5): | |
if(i<2): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import annotations | |
import sys | |
from io import StringIO | |
from typing import Callable, TextIO, cast | |
def _run(main_wrapper: Callable[[TextIO, TextIO], None]) -> tuple[str, str, int]: | |
stdout = StringIO() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Gist Created By Saksham ChhimwalAt 1668679906 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def main1(): | |
for i in range(1,3): | |
print(i) | |
if(i<5): | |
print("Yes") | |
else: | |
print("NO") | |
def main(): | |
for i in range(1,5): | |
if(i<2): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Gist Created By Saksham ChhimwalAt 1668680979 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change above line to point to local | |
# python executable | |
import urllib, urlparse, string, time | |
# create URL with desired search parameters | |
url = "http://archive.stsci.edu/pointings/search.php?" | |
url = url + "primary=ACS&outputformat=CSV" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Gist Created By Saksham ChhimwalAt 1668695720 |
OlderNewer