1. Engineering
  2. Computer Science
  3. help please...

Question: help please...

Question details
Help please
inal Help ehwlpy-AIST2120-Visual Studio Code 26 27 # 4. Using a slice operation, print only the fourth word in the following string (no spaces). 28 var four this is only kind of a test 29 30 31 # 5. Using a slice operation, print every other character in the following 32 string starting with the first character. 33 var_fivabcdefghijklnopgrstuvwayz 34 35 36 # 6. Create a tuple of five elements of different data types, assign it to a 37 # variable and print the tuple. 38 39 4e # 7. Use a built-in string method to replace, all of the Z characters following variable and pring the result. 42 var_seven fizz buzz 43 4s 46 47 # s. convert the folloing variable to a tuple and print the new tuple. var_eight sonething nothing kind of sort of maybe 49 ·9· Sort, the ust in descending order and print the sorted list. 50 var_list [S39, 213, 111, 994, 545, 676, 1829, 18) 51 52 53 # 10. Print a list of the keys from the following dictionary using a 54 a built in dictionary method. 55 var_dict- (ax :109, ry:2, : 39, de0, po: se0) 56
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution