The process or activity of writing computer programs.
Answer:
Radius = 14 cm = 0.00014 km
Circumference = 2πr = 2 × 22/7 × 14/100000 = 0.00088 km
As it went thousand times , distance covered = 0.00088 × 1000 = 0.88 km
Answer:
Here is the program:
current_time = '2014-07-26 02:12:18:'
my_city = ''
my_state = ''
log_entry = ''
my_city = input("") #reads in value for my_city
my_state = input("") #reads in value for my_state
log_entry = current_time + ' ' + my_city + ' ' + my_state #concatenates current_time, my_city and my_state values with ' ' empty space between them
print(log_entry)
Explanation:
You can also replace
log_entry = current_time + ' ' + my_city + ' ' + my_state
with
log_entry = f'{current_time} {my_city} {my_state}'
it uses f-strings to format the strings
If you want to hard code the values for my_city and my_state then you can replace the above
my_city = input("")
my_state = input("")
with
my_city = "Houston"
my_state = "Texas"
but if you want to read these values at the console from user then use the input() method.
The screenshot of the program along with the output is attached.
Answer:
1. Tabs: allows you to drag the window to a new location
Explanation: Tab is the key that is used to switch between different windows or websites that are opened at a time. This can be done by pressing Ctrl+Tab
2. Status Bar: displays whether the Web page is secure or not
Explanation: Status bar is used to show the status or information related to that page. Like Information related safety precaution.
3. Title Bar: allows you to quickly move between different Web sites
Explanation: Title bar consist of the name of different websites that are open at particular time. This shows at the top of the browser. We can quickly move on different websites using title of website.
4. Bookmarks: save Web addresses so you can return to them quickly
Explanation: Bookmarks are the pages that we save in bookmark menu, to re-open the page whenever its needed.