How can I use x//2 operator in Python?

376    Asked by dhanan_7781 in Python , Asked on Dec 13, 2023

I was building a program that can calculate the number of full weeks in a given number of days. How can I use “//” operator in Python to determine the whole number of weeks and also the remaining days left? 


Your Answer

Interviews

Parent Categories