Skip to content

Instantly share code, notes, and snippets.

@krantikal
Created March 31, 2021 04:43
Show Gist options
  • Save krantikal/678ae2f71137d2ea660f5b837a894454 to your computer and use it in GitHub Desktop.
Save krantikal/678ae2f71137d2ea660f5b837a894454 to your computer and use it in GitHub Desktop.
[Hello Programs] #coding #intro
void main(int argc, char *argv[]) {
puts( "Hello World from processor");
}
#py 2
msg=
'''Pythoneers of the world, unite!
You have nothing to lose but your platform,
Still have an OS to win.
'''
print msg
#py 3
import random
Word = "Hello Python"
ns=random.randint
for Letter in Word:
print(" "*ns(1,8),Letter)
PROGRAM HELLO
Print*, "Welcome to gfortran!"
END PROGRAM HELLO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment