Write a function which takes a string and prints all its letters, in the order that they appear, each in a new line.
Write a function that takes two strings, s1, and s2, and returns True if s1 is greater than (comes after) s2.
Write a function that takes no arguments and returns a dictionary with 2 elements.
Write a function which takes a tuple, t and returns a new tuple which is the concatenation of t and (3, 4)
Write a function that takes no arguments and returns a dictionary with 6 elements, where keys are floats and values are integers.
Define a function that takes a string and a character, word and char, and returns True if fourth character of word is equal to char.
d = {1: 1, 2: 2, 3: 4} first = 1 in d second = 2 in d third = 3 in d fourth = 4 in d
Given the above script?
What is the the value of first: | ||
What is the the value of second: | ||
What is the the value of third: | ||
What is the the value of fourth: |
mixed = ["Traukni", ["Babrruja", 0], "Carralluke", "Xerxe"]
Given the above script:
How many elements does mixed have: | ||
What is the second element of mixed: | ||
What is type of the second element of mixed: | ||
What is the last element of mixed: |
Complete execution flow of the following program
>>>
Complete execution flow of the following program
>>>