arr1 = ["january","february","march","april","may","june"]
arr2 = ["july","august","septmber","october","november","december"]
combine two arrays
Write a program in Python programming language, which allows the user to input integer values for variables named lowerLimit and upperLimit. Based on the input values, the program should perform the following tasks:
• Calculate and display all odd numbers within the given range (lowerLimit to upperLimit).
• Calculate and display all even numbers within the given range (lowerLimit to upperLimit).
• Calculate and display the number of total even and odd numbers present within the range (lowerLimit to upperLimit).
*lowerLimit and upperLimit are included within range.
Write a program in Python programming language, which allows the user to input year value and based on the input value, the program should perform the following tasks:
Sample output for the wrong input:
Enter the year : -1995
wrong input !! year should be positive integer.
Enter the year : 19
wrong input !! worng input Enter the year in correct format i.e , 1980 or 2030
Sample output for the correct input:
Enter the year : 2020
2020 is a leap year
Enter the year : 2021
2021 is not a leap year
Look at this program.
city = 'London'
state = 'UK'
print('{0} is a city in {1}' .format(city, state))
What will it output? Type the output.
write a program to print sum of the numbers divisible by the given number T from M to N in python
make a program that will accept an integer and then print out its factorial using loops
Given string s, write a short expression for a string that includes s repeated five times
1. Choose your own category
2. Look for subcategories with similarities or shared attributes (atleast 3 subcategories)
3. Map inheritance on paper, list properties and methods
4. Define PHP classes
5. Inherit, extend, and override properties and methods
6. Create instances to test
Category Ideas: Animals, Clothing, Foods, Furniture, Musical Instruments.
Submit a python file.
write a program which reads N inputs and print the sum of the given input integers
Largest Number in the List
Question : You are given space-separated integers as input. Write a program to print the maximum numbers among the given numbers?
Sample Input_1:
1 0 3 2 9 8
Sample Output_1:
9
Sample Input_2:
-1 -3 -4 0
Sample Output_2: