Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Python basics

b4d
November 09, 2016

Python basics

Course held at National Institute of Chemistry in Ljubljana, 2016.

b4d

November 09, 2016
Tweet

More Decks by b4d

Other Decks in Programming

Transcript

  1. print “Hello world” PYTHON 01000001 01000111 00001001 01100011 01100001 01000010

    01001101 00111011 11010110 01000101 00000111 10101010 00011011 11000100 00100001 01101100 00000001 10010000 00000101 00000000 10101010 10001111 … BINARY CODE (FAKE)
  2. if x < 9: print “st. x je manjse od

    9” elif x > 9: print “st. x je vecje od 9” else: print “st. x je enako 9” CONDITIONAL STATEMENTS