Function Name: weekendPlans()  Parameters:  weather – a str…

Function Name: weekendPlans()  Parameters:  weather – a str representing the weather’s current condition Return Value: None Description: The weather has been super inconsistent lately. Sometimes it’s rainy, sometimes windy, but it’s always just plain confusing! Write a function that takes the current weather as a parameter and prints what you should do based on its condition. Your function should print out a different statement if the weather begins with a vowel, consonant, or has the word “snow” in it. Note: Your function should be case insensitive. Test Cases:  >>> weekendPlans(“rainy”)I guess I have to cancel my plans and stay inside for the weekend…>>> weekendPlans(“snowstorm”)No way, it’s actually snowing! Time to grab a coat and head outside!>>> weekendPlans(“Overcast”)This weather is perfect! I’m going to go out with my friends this weekend.

Trace the function and write your answer in the box below ju…

Trace the function and write your answer in the box below just as it would appear in the Command Area after executing the function below. def creditHours(credits, summerGPA):   springGPA = 3.0    print(“I am taking ” + str(credits) + ” credits this semester”)    print(“Last semester I took ” + str(float(credits + 2)))    print(“My GPA average is ” + str((springGPA + summerGPA) / 2))Test Case:>>> creditHours(15, 3.0)

What will the output be with the following for loop: def po…

What will the output be with the following for loop: def pokemonGO(pokemon):     sentence = “”     for i in range(2, 4):         if i % 2 == 0:             sentence += pokemon[i].upper() + ” ”         else:             sentence += pokemon[i].lower() + ” ”     return sentence >>> print(pokemonGO([“Chansey”, “Wooper”, “Feebas”, “Bidoof”, “Zekrom”, “Machoke”]))

Trace the function and write your answer in the box below ju…

Trace the function and write your answer in the box below just as it would appear in the Command Area after executing the function below. def creditHours(credits, summerGPA):   springGPA = 3.0    print(“I am taking ” + str(credits) + ” credits this semester”)    print(“Last semester I took ” + str(float(credits + 2)))    print(“My GPA average is ” + str((springGPA + summerGPA) / 2))Test Case:>>> creditHours(12, 4.0)