Skip to content
View madserrano's full-sized avatar
💭
sleepworking
💭
sleepworking

Block or report madserrano

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Using For loop in Python Using For loop in Python
    1
    ######################################################
    2
    # For Loop in Python
    3
    
                  
    4
    print("=============Print number loop==============")
    5
    for number in range(3):
  2. Swapping variable values in Python Swapping variable values in Python
    1
    ##################################
    2
    # Swap 2 integer values
    3
    
                  
    4
    #initial values
    5
    var_first = 5
  3. Getting harmonic mean Getting harmonic mean
    1
    ######################################################
    2
    # Getting harmonic mean in Python
    3
    
                  
    4
    def get_harmonic_mean(tp, fp, fn):
    5
        precision = get_precision(tp, fp)
  4. Using variables in Python Using variables in Python
    1
    ##############################################
    2
    # Variables
    3
    ##############################################
    4
    
                  
    5
    # Boolean
  5. Using List and Tuple in Python Using List and Tuple in Python
    1
    #####################################################
    2
    #List - collection of elements in one list variable
    3
    ######################################################
    4
    
                  
    5
    my_list = ["Python", "Perl", "Bash", "PowerShell", "Ksh", "Bash", "Python", "Perl", "Python"]
  6. Using Functions in Python Using Functions in Python
    1
    #############################################################
    2
    # Functions in Python
    3
    
                  
    4
    print("======Simple Function=======")
    5
    grade = "A+"  # global var