If you’re asking what I think your saying I know comcast does
Cheese
…………………………..tggggggcfcgvgvv
Answer:
Complete Python code with step by step comments for explanation are given below.
Python Code:
# creating a function named scrabble_number that will take num as input argument
def scrabble_number(num):
# print the original number
print("The original number is: ",num)
# we can implement the required logic by using python built-in functions join() and zip()
scrambled = ''.join([char[1]+char[0] for char in zip(num[::2], num[1::2])])
# print the scrambled number
print("The scrambled number is: " + str(scrambled))
Driver code:
scrabble_number('123456')
Output:
The original number is: 123456
The scrambled number is: 214365
Answer:
creates a cookie with a name of “username” and a value of “mike2009”
Explanation:
This javascript code creates a cookie with the name "username" and it's value is "mike2009".This cookie expires after 1 year.Mentioned in the max-age function.Since max-age function takes arguments in seconds so the it sums up to 1 year.It will be deleted after one year.