Python Forum
Avoid multiple repeat in indent
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Avoid multiple repeat in indent
#3
Yes exactly i have done that but if i input 100 it wont return the number of pairs. Maybe its the compiler that has a limit.

Also is it possible to initialize the variable count at the top so that the numbers count appear just after Primes sum that gives:?

TY
Reply


Messages In This Thread
Avoid multiple repeat in indent - by Frankduc - Jan-17-2022, 04:35 PM
RE: Avoid multiple repeat in indent - by BashBedlam - Jan-17-2022, 04:39 PM
RE: Avoid multiple repeat in indent - by Frankduc - Jan-17-2022, 04:46 PM
RE: Avoid multiple repeat in indent - by BashBedlam - Jan-17-2022, 07:37 PM
RE: Avoid multiple repeat in indent - by Frankduc - Jan-18-2022, 02:06 PM
RE: Avoid multiple repeat in indent - by deanhystad - Jan-18-2022, 12:40 PM
RE: Avoid multiple repeat in indent - by Frankduc - Jan-18-2022, 02:56 PM
RE: Avoid multiple repeat in indent - by deanhystad - Jan-18-2022, 03:59 PM
RE: Avoid multiple repeat in indent - by Frankduc - Jan-18-2022, 05:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  getting unexpected indent errors trying to move cells up jensengt 4 979 Jun-28-2023, 12:05 PM
Last Post: deanhystad
  xml indent SubElements (wrapping) with multiple strings ctrldan 2 1,682 Jun-09-2023, 08:42 PM
Last Post: ctrldan
  Why do I have to repeat items in list slices in order to make this work? Pythonica 7 1,490 May-22-2023, 10:39 PM
Last Post: ICanIBB
  Repeat request by else stsxbel 2 1,260 Jul-30-2022, 03:34 PM
Last Post: stsxbel
  IndentationError: unexpected indent dee 3 2,507 May-02-2022, 02:15 AM
Last Post: dee
  get out of while loop and stop repeat Frankduc 11 3,227 Apr-26-2022, 10:09 PM
Last Post: deanhystad
  How to discard list repeat values akanowhere 7 3,860 Dec-28-2020, 09:14 PM
Last Post: akanowhere
  I want to check if the input is str or is int & if it's str repeat the loop HLD202 4 2,897 Nov-23-2020, 11:01 PM
Last Post: perfringo
  IndentationError: unexpected indent jk91 1 2,450 Feb-27-2020, 08:56 PM
Last Post: buran
  is there a way: repeat key word args Skaperen 2 2,320 Feb-03-2020, 06:03 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020