Created
March 10, 2019 13:40
-
-
Save TheCoreMan/485a828344037ece338418f0b67a680c to your computer and use it in GitHub Desktop.
Cute Keychains for random internet stranger
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
# THIS IS IN A PROGRAMMING LANGUAGE CALLED GOLANG | |
package main | |
import "fmt" | |
func main() { | |
fmt.Println("Bound 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
# THIS IS IN PYTHON | |
# Simplest | |
bound = 2 | |
# A few "print" options, which is how you print | |
print("Bound 2") | |
print("Bound {0}".format(2)) | |
# And a few more complicated ones | |
# Python dictionary | |
{"bound": 2} | |
# For loop | |
bound = [0,0,0] | |
for i in range(3): | |
if i == 2: | |
bound[i] = True | |
else: | |
bound[i] = False | |
print(bound) | |
# import | |
import bound | |
print(bound.2() + "you") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment