Python Forum
Padlock of alphabetical strings
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Padlock of alphabetical strings
#11
The first line of the input gives the number of test cases, TT . TT test cases follow.
Each test case consists of two lines.
The first line of each test case contains the string SS .
The second line of each test case contains the string FF .
Reply
#12
K...changed things up again...Close, but not cigar.
Quote:.
.cheated a little because my "op_count” variable wouldn't work so I subtracted the numerical value from each other to get the steps and assigned them to my variable
Quote:.
The calc is still off for some reason.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  sorting row values alphabetical PolskaYBZ 1 2,449 Jan-27-2019, 01:49 PM
Last Post: stullis
  Write a code to output in alphabetical order AbdelaliPython 1 4,560 Jan-19-2018, 09:03 PM
Last Post: j.crater
  Strings inside other strings - substrings OmarSinno 2 3,622 Oct-06-2017, 09:58 AM
Last Post: gruntfutuk

Forum Jump:

User Panel Messages

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