Vivek Test Page

From OpenCircuits
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")