Answer:
x = int(input("What grade are you in? "))
if (x == 9):
print ("Freshman")
elif (x == 10):
print("Sophomore")
elif (x == 11):
print ("Junior")
elif (x == 12):
print("Senior")
else:
print ("Not in High School")
Explanation:
Answer:
couple.py
def couple(s1,s2):
newlist = []
for i in range(len(s1)):
newlist.append([s1[i],s2[i]])
return newlist
s1=[1,2,3]
s2=[4,5,6]
print(couple(s1,s2))
enum.py
def couple(s1,s2):
newlist = []
for i in range(len(s1)):
newlist.append([s1[i],s2[i]])
return newlist
def enumerate(s,start=0):
number_Array=[ i for i in range(start,start+len(s))]
return couple(number_Array,s)
s=[6,1,'a']
print(enumerate(s))
print(enumerate('five',5))
Explanation:
Answer:
The following codes are:
int monthOfYear=11;
// integer type variable is initialized
long companyRevenue=5666777;
// long type variable is initialized
int firstClassTicketPrice=6000;
// integer type variable is initialized
long totalPopulation=1222333; //// long type variable is initialized
Explanation:
Here, we define integer type variable "monthOfYear" to 11.
Then, we define long type variable "companyRevenue" to 5666777.
Then, we define integer type variable "firstClassTicketPrice" to 6000.
Then, we define long type variable "totalPopulation" to 1222333.
seatbelt
Explanation:
Seatbelt lowers your momentum so it can take impact to be less dangerous
Answer is power and base
Explanation: both power and base are number variables