"Fossies" - the Fresh Open Source Software Archive

Member "cloc-1.86/tests/inputs/diff/B/d2/hi.py" (19 May 2020, 233 Bytes) of package /linux/privat/cloc-1.86.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #/usr/bin/env python
    2 
    3 # pound comment
    4 
    5 import time
    6 print('Hello.  The time is %f Unix epoch.' % (time.time()))  # inline comment
    7 print(f'f-string')
    8 
    9 """
   10 Docstring,
   11   also counted as comment.
   12 """
   13 
   14 '''
   15 Single
   16   Quoted
   17     Docstring'''