Question: Please use python to write it Tudor, having made his own tea for far too long, has decided to go to a nearby tea shop
Tudor, having made his own tea for far too long, has decided to go to a nearby tea shop to buy some tea As every respectable tea shop does, this specific tea shop offers a loyalty program. For every K cups of tea that Tudor buys at the shop, the shop will give him one free cup of tea. Tudor wants to drink at least N cups of tea. How many cups of tea will he have to buy in order to achieve this goal? Constraints 1sNKs10t probem In tests worth 5 marks, N Input Specification The input will consist of a single line containing two positive integers, N and K Output Specification Output, on a single line, the minimum number of cups of tea Tudor needs to buy
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
