Posts

Showing posts from May, 2024
Hey guys this is your Friend. here this is my first code. #This is Match case statement in python. x = int ( "4" ) # x is variable to match match x:     case 0 :         print ( "x is zero" )         # if case is 0     case 4 :         print ( "case is 4" )     case _:         print (x)