subject

What will be the output of the following code? i)
a = 6+4/8
b= int(a+102)
c = 43//5
d=43%5

print (a, b, c, d, sep=' ')

ii)
S="PYTHO LANG
print S[::-11)
print S[5:]) print(S[-6:-1:21)

please answer fast

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
Which of the following methods could be considered a “best practice” in terms of informing respondents how their answers to an on-line survey about personal information will be protected? respondents are informed that investigators will try to keep their participation confidential; however, confidentiality cannot be assured. respondents are informed that a research assistant will transfer all the research data to a password-protected computer that is not connected to the internet, via a usb flashdrive. the computer is located in a research team member’s office. the investigator uses the informed consent process to explain her institution’s method for guaranteeing absolute confidentiality of research data. the investigator uses the informed consent process to explain how respondent data will be transmitted from the website to his encrypted database without ever recording respondents’ ip addresses, but explains that on the internet confidentiality cannot be absolutely guaranteed.
Answers: 1
question
Computers and Technology, 24.06.2019 17:50
Acontact list is a place where you can store a specific contact with other associated information such as a phone number, email address, birthday, etc. write a program that first takes in word pairs that consist of a name and a phone number (both strings). that list is followed by a name, and your program should output that name's phone number.
Answers: 1
question
Computers and Technology, 24.06.2019 22:10
How many different ways are there to order the eight jobs in the queue so that job usu comes somewhere before cdp in the queue (although not necessarily immediately before) and cdp comes somewhere before bbd (again, not necessarily immediately before)?
Answers: 1
question
Computers and Technology, 25.06.2019 01:00
Regular maintenance is a key component of automotive lift safety.
Answers: 1
You know the right answer?
What will be the output of the following code? i)
a = 6+4/8
b= int(a+102)
c = 43//5<...
Questions
question
Mathematics, 05.03.2021 14:00
question
Mathematics, 05.03.2021 14:00
question
Mathematics, 05.03.2021 14:00
question
Mathematics, 05.03.2021 14:00
question
Mathematics, 05.03.2021 14:00
question
Chemistry, 05.03.2021 14:00
Questions on the website: 13722367