Vivek Test Page

From OpenCircuits
Revision as of 07:56, 6 April 2020 by Vivek (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is Vivek's Test Page


    ((-3./5.) ** 3 )  *  (   (5./3.) ** 2 )

example_loop_forever[edit]


def example_loop_forever():

    print( """Example of for loop forever - stop with cntrl - c

    """ )

    while True:
        print("condition is true")


Vivek's Example[edit]

# put code here
def example_loop_forever():
    for i_test in [True,False,0,1,"false"]:
         print(f"testing{i_test}")
         which is of (type)(i_test)
         if i_test:
              print("true")
         else:
              print("not true")