Группа в Telegram: @pythonsu

#1 Май 19, 2017 17:27:09

Зарегистрирован: 2017-05-17
Сообщения: 2
Репутация: +  0  -
Профиль   Отправить e-mail  

Simple Python

I have only just started studying computer science at A-Level and I have been set this task in python. I know it probably seems easy but I am very knew to this and am unsure of how to go about doing it please help.

Write a program that gets the user to type in how many bits
they are using and will then tell them what the value of the
left-most column heading will be in two's complement e.g. if
they type in 4 the program should output -8.

I didn't find the right solution from the Internet.

Explainer Video Example


Board footer


Powered by DjangoBB

Lo-Fi Version