<gh_stars>0
# Exercise 1
# Because of the quotation marks, Python identifies the greeting
# below as a _______ (1 word, lowercase)
# "Hello, World!"
# answer: string

# Exercise 2
# Because there are no quotation marks, Python identifies the set of characters below as a _______.
# country_of_origin
# answer: variable

# Exercise 3
print("\nExercise 03")
# Assign the string "Boo!" to the variable scare.
scare = "Boo!"
print(scare)

# Exercise 4
print("\nExercise 04")
# Assign the string "jay" to the variable bird.
bird = "jay"
print(bird)

# Exercise 5
print("\nExercise 05")
# Assign your first name to a variable. You choose the variable name.
name = "Mikhail"
print(name)

# Exercise 6
# Assign a string to a variable. You choose the variable name and the string.

# Exercise 7
print("\nExercise 07")
# In the statement below, I assign a string to a variable.
# Using the variable, write the statement that displays the string on the screen.
my_name = "Mark"
print(my_name)

# Exercise 8
# Assign a string to a variable. You choose the variable name and the string.
# Using the variable, write a statement that displays the string on the screen.

# Exercise 9
# Revise this variable name as the Python governing body recommends.
# countryoforigin
# answer: country_of_origin
# (!!!) давать задания на исправления кода (pep8)

# Exercise 10
# Assign the string "Hi" to the variable greeting

# Exercise 11
# # Click in the left-hand Trinket panel.
# On line 1, assign a string of your choice to a variable of your choice.
# On line 2, tell Python to display the string, using the variable.
# https://trinket.io/python3/0b4c281eff

# Exercise 12
# Click in the left-hand Trinket panel.
# On line 1, assign your first name to a variable.
# On line 2, tell Python to display your first name using that variable.





# количество значащих нулей в двоичной системе счисления

# временно последующий код закомментирован:
# a = input("\nВведите число в двоичной системе: ")
# print("\nВы ввели число ",a,", которому соответствует число ",int(a,2)) # встроенная функция

# плюсы и запятые отличаются в смысле вывода на экран! Или опять невнимательно прочитал,
# или же, реально в книге было указано неточно. (не понятен смысл ремарки)

