t431.trans 63 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015
  1. Module(body=[Print(dest=None,
  2. values=[Str(s='\nSTRINGS')],
  3. nl=True),
  4. Assign(targets=[Name(id='s',
  5. ctx=Store())],
  6. value=Str(s='hello')),
  7. Print(dest=None,
  8. values=[Compare(left=Compare(left=Str(s='h'),
  9. ops=[In()],
  10. comparators=[Name(id='s',
  11. ctx=Load())]),
  12. ops=[Eq()],
  13. comparators=[Name(id='True',
  14. ctx=Load())])],
  15. nl=True),
  16. Print(dest=None,
  17. values=[Compare(left=Compare(left=Str(s='H'),
  18. ops=[In()],
  19. comparators=[Name(id='s',
  20. ctx=Load())]),
  21. ops=[Eq()],
  22. comparators=[Name(id='False',
  23. ctx=Load())])],
  24. nl=True),
  25. Print(dest=None,
  26. values=[Compare(left=Compare(left=Str(s='e'),
  27. ops=[NotIn()],
  28. comparators=[Name(id='s',
  29. ctx=Load())]),
  30. ops=[Eq()],
  31. comparators=[Name(id='False',
  32. ctx=Load())])],
  33. nl=True),
  34. Print(dest=None,
  35. values=[Compare(left=Compare(left=Str(s='L'),
  36. ops=[NotIn()],
  37. comparators=[Name(id='s',
  38. ctx=Load())]),
  39. ops=[Eq()],
  40. comparators=[Name(id='True',
  41. ctx=Load())])],
  42. nl=True),
  43. Print(dest=None,
  44. values=[Compare(left=BinOp(left=Str(s='hello'),
  45. op=Add(),
  46. right=Str(s=' world')),
  47. ops=[Eq()],
  48. comparators=[Str(s='hello world')])],
  49. nl=True),
  50. Print(dest=None,
  51. values=[Compare(left=BinOp(left=Str(s='a'),
  52. op=Mult(),
  53. right=Num(n=3)),
  54. ops=[Eq()],
  55. comparators=[Str(s='aaa')])],
  56. nl=True),
  57. Print(dest=None,
  58. values=[Compare(left=BinOp(left=Num(n=2),
  59. op=Mult(),
  60. right=Str(s='hello')),
  61. ops=[Eq()],
  62. comparators=[Str(s='hellohello')])],
  63. nl=True),
  64. Assign(targets=[Name(id='s',
  65. ctx=Store())],
  66. value=Str(s='01234')),
  67. Print(dest=None,
  68. values=[Compare(left=Subscript(value=Name(id='s',
  69. ctx=Load()),
  70. slice=Index(value=Num(n=4)),
  71. ctx=Load()),
  72. ops=[Eq()],
  73. comparators=[Str(s='4')])],
  74. nl=True),
  75. Print(dest=None,
  76. values=[Compare(left=Subscript(value=Name(id='s',
  77. ctx=Load()),
  78. slice=Index(value=Num(n=-1)),
  79. ctx=Load()),
  80. ops=[Eq()],
  81. comparators=[Str(s='4')])],
  82. nl=True),
  83. Print(dest=None,
  84. values=[Compare(left=Subscript(value=Name(id='s',
  85. ctx=Load()),
  86. slice=Slice(lower=Num(n=0),
  87. upper=Num(n=3),
  88. step=None),
  89. ctx=Load()),
  90. ops=[Eq(),
  91. Eq(),
  92. Eq()],
  93. comparators=[Subscript(value=Name(id='s',
  94. ctx=Load()),
  95. slice=Slice(lower=None,
  96. upper=Num(n=3),
  97. step=None),
  98. ctx=Load()),
  99. Subscript(value=Name(id='s',
  100. ctx=Load()),
  101. slice=Slice(lower=Name(id='None',
  102. ctx=Load()),
  103. upper=Num(n=3),
  104. step=None),
  105. ctx=Load()),
  106. Str(s='012')])],
  107. nl=True),
  108. Print(dest=None,
  109. values=[Compare(left=Subscript(value=Name(id='s',
  110. ctx=Load()),
  111. slice=Slice(lower=Num(n=0),
  112. upper=None,
  113. step=None),
  114. ctx=Load()),
  115. ops=[Eq(),
  116. Eq(),
  117. Eq()],
  118. comparators=[Subscript(value=Name(id='s',
  119. ctx=Load()),
  120. slice=Slice(lower=Num(n=0),
  121. upper=Name(id='None',
  122. ctx=Load()),
  123. step=None),
  124. ctx=Load()),
  125. Subscript(value=Name(id='s',
  126. ctx=Load()),
  127. slice=Slice(lower=None,
  128. upper=None,
  129. step=None),
  130. ctx=Load()),
  131. Str(s='01234')])],
  132. nl=True),
  133. Print(dest=None,
  134. values=[Compare(left=Subscript(value=Name(id='s',
  135. ctx=Load()),
  136. slice=Slice(lower=Num(n=1),
  137. upper=Num(n=3),
  138. step=None),
  139. ctx=Load()),
  140. ops=[Eq()],
  141. comparators=[Str(s='12')])],
  142. nl=True),
  143. Print(dest=None,
  144. values=[Compare(left=Subscript(value=Name(id='s',
  145. ctx=Load()),
  146. slice=Slice(lower=Num(n=-1),
  147. upper=Num(n=3),
  148. step=None),
  149. ctx=Load()),
  150. ops=[Eq()],
  151. comparators=[Str(s='')])],
  152. nl=True),
  153. Print(dest=None,
  154. values=[Compare(left=Subscript(value=Name(id='s',
  155. ctx=Load()),
  156. slice=Slice(lower=Num(n=-3),
  157. upper=Num(n=3),
  158. step=None),
  159. ctx=Load()),
  160. ops=[Eq()],
  161. comparators=[Str(s='2')])],
  162. nl=True),
  163. Print(dest=None,
  164. values=[Compare(left=Subscript(value=Name(id='s',
  165. ctx=Load()),
  166. slice=Slice(lower=Num(n=-4),
  167. upper=Num(n=-1),
  168. step=None),
  169. ctx=Load()),
  170. ops=[Eq()],
  171. comparators=[Str(s='123')])],
  172. nl=True),
  173. Print(dest=None,
  174. values=[Compare(left=Subscript(value=Name(id='s',
  175. ctx=Load()),
  176. slice=Slice(lower=Num(n=0),
  177. upper=Num(n=5),
  178. step=Num(n=1)),
  179. ctx=Load()),
  180. ops=[Eq(),
  181. Eq(),
  182. Eq(),
  183. Eq(),
  184. Eq(),
  185. Eq(),
  186. Eq(),
  187. Eq()],
  188. comparators=[Subscript(value=Name(id='s',
  189. ctx=Load()),
  190. slice=Slice(lower=None,
  191. upper=Num(n=5),
  192. step=Num(n=1)),
  193. ctx=Load()),
  194. Subscript(value=Name(id='s',
  195. ctx=Load()),
  196. slice=Slice(lower=Num(n=0),
  197. upper=None,
  198. step=Num(n=1)),
  199. ctx=Load()),
  200. Subscript(value=Name(id='s',
  201. ctx=Load()),
  202. slice=Slice(lower=Num(n=0),
  203. upper=Num(n=5),
  204. step=Name(id='None',
  205. ctx=Load())),
  206. ctx=Load()),
  207. Subscript(value=Name(id='s',
  208. ctx=Load()),
  209. slice=Slice(lower=Num(n=0),
  210. upper=None,
  211. step=Name(id='None',
  212. ctx=Load())),
  213. ctx=Load()),
  214. Subscript(value=Name(id='s',
  215. ctx=Load()),
  216. slice=Slice(lower=None,
  217. upper=Num(n=5),
  218. step=Name(id='None',
  219. ctx=Load())),
  220. ctx=Load()),
  221. Subscript(value=Name(id='s',
  222. ctx=Load()),
  223. slice=Slice(lower=None,
  224. upper=None,
  225. step=Num(n=1)),
  226. ctx=Load()),
  227. Subscript(value=Name(id='s',
  228. ctx=Load()),
  229. slice=Slice(lower=None,
  230. upper=None,
  231. step=Name(id='None',
  232. ctx=Load())),
  233. ctx=Load()),
  234. Str(s='01234')])],
  235. nl=True),
  236. Print(dest=None,
  237. values=[Compare(left=Subscript(value=Name(id='s',
  238. ctx=Load()),
  239. slice=Slice(lower=None,
  240. upper=None,
  241. step=Num(n=-1)),
  242. ctx=Load()),
  243. ops=[Eq()],
  244. comparators=[Str(s='43210')])],
  245. nl=True),
  246. Print(dest=None,
  247. values=[Compare(left=Subscript(value=Name(id='s',
  248. ctx=Load()),
  249. slice=Slice(lower=Num(n=4),
  250. upper=Num(n=2),
  251. step=Num(n=-1)),
  252. ctx=Load()),
  253. ops=[Eq()],
  254. comparators=[Str(s='43')])],
  255. nl=True),
  256. Print(dest=None,
  257. values=[Compare(left=Subscript(value=Name(id='s',
  258. ctx=Load()),
  259. slice=Slice(lower=Num(n=-1),
  260. upper=Num(n=2),
  261. step=Num(n=-2)),
  262. ctx=Load()),
  263. ops=[Eq()],
  264. comparators=[Str(s='4')])],
  265. nl=True),
  266. Print(dest=None,
  267. values=[Compare(left=Call(func=Name(id='len',
  268. ctx=Load()),
  269. args=[Name(id='s',
  270. ctx=Load())],
  271. keywords=[],
  272. starargs=None,
  273. kwargs=None),
  274. ops=[Eq()],
  275. comparators=[Num(n=5)])],
  276. nl=True),
  277. Print(dest=None,
  278. values=[Compare(left=Call(func=Name(id='min',
  279. ctx=Load()),
  280. args=[Name(id='s',
  281. ctx=Load())],
  282. keywords=[],
  283. starargs=None,
  284. kwargs=None),
  285. ops=[Eq()],
  286. comparators=[Str(s='0')])],
  287. nl=True),
  288. Print(dest=None,
  289. values=[Compare(left=Call(func=Name(id='max',
  290. ctx=Load()),
  291. args=[Name(id='s',
  292. ctx=Load())],
  293. keywords=[],
  294. starargs=None,
  295. kwargs=None),
  296. ops=[Eq()],
  297. comparators=[Str(s='4')])],
  298. nl=True),
  299. Print(dest=None,
  300. values=[Str(s='\nLISTS')],
  301. nl=True),
  302. Assign(targets=[Name(id='l',
  303. ctx=Store())],
  304. value=List(elts=[Num(n=0),
  305. Num(n=1),
  306. Num(n=2),
  307. Num(n=3),
  308. Num(n=4)],
  309. ctx=Load())),
  310. Print(dest=None,
  311. values=[Compare(left=Compare(left=Num(n=0),
  312. ops=[In()],
  313. comparators=[Name(id='l',
  314. ctx=Load())]),
  315. ops=[Eq()],
  316. comparators=[Name(id='True',
  317. ctx=Load())])],
  318. nl=True),
  319. Print(dest=None,
  320. values=[Compare(left=Compare(left=Num(n=5),
  321. ops=[In()],
  322. comparators=[Name(id='l',
  323. ctx=Load())]),
  324. ops=[Eq()],
  325. comparators=[Name(id='False',
  326. ctx=Load())])],
  327. nl=True),
  328. Print(dest=None,
  329. values=[Compare(left=Compare(left=Num(n=4),
  330. ops=[NotIn()],
  331. comparators=[Name(id='l',
  332. ctx=Load())]),
  333. ops=[Eq()],
  334. comparators=[Name(id='False',
  335. ctx=Load())])],
  336. nl=True),
  337. Print(dest=None,
  338. values=[Compare(left=Compare(left=Str(s='hello'),
  339. ops=[NotIn()],
  340. comparators=[Name(id='l',
  341. ctx=Load())]),
  342. ops=[Eq()],
  343. comparators=[Name(id='True',
  344. ctx=Load())])],
  345. nl=True),
  346. Print(dest=None,
  347. values=[Compare(left=BinOp(left=List(elts=[Num(n=0),
  348. Num(n=1),
  349. Num(n=2)],
  350. ctx=Load()),
  351. op=Add(),
  352. right=List(elts=[Num(n=3),
  353. Num(n=4)],
  354. ctx=Load())),
  355. ops=[Eq()],
  356. comparators=[Name(id='l',
  357. ctx=Load())])],
  358. nl=True),
  359. Print(dest=None,
  360. values=[Compare(left=BinOp(left=List(elts=[Num(n=0)],
  361. ctx=Load()),
  362. op=Mult(),
  363. right=Num(n=3)),
  364. ops=[Eq()],
  365. comparators=[List(elts=[Num(n=0),
  366. Num(n=0),
  367. Num(n=0)],
  368. ctx=Load())])],
  369. nl=True),
  370. Print(dest=None,
  371. values=[Compare(left=BinOp(left=Num(n=2),
  372. op=Mult(),
  373. right=List(elts=[Num(n=1),
  374. Num(n=2)],
  375. ctx=Load())),
  376. ops=[Eq()],
  377. comparators=[List(elts=[Num(n=1),
  378. Num(n=2),
  379. Num(n=1),
  380. Num(n=2)],
  381. ctx=Load())])],
  382. nl=True),
  383. Assign(targets=[Name(id='l2',
  384. ctx=Store())],
  385. value=BinOp(left=List(elts=[List(elts=[],
  386. ctx=Load())],
  387. ctx=Load()),
  388. op=Mult(),
  389. right=Num(n=3))),
  390. Expr(value=Call(func=Attribute(value=Subscript(value=Name(id='l2',
  391. ctx=Load()),
  392. slice=Index(value=Num(n=0)),
  393. ctx=Load()),
  394. attr='append',
  395. ctx=Load()),
  396. args=[Num(n=3)],
  397. keywords=[],
  398. starargs=None,
  399. kwargs=None)),
  400. Print(dest=None,
  401. values=[Compare(left=Name(id='l2',
  402. ctx=Load()),
  403. ops=[Eq()],
  404. comparators=[List(elts=[List(elts=[Num(n=3)],
  405. ctx=Load()),
  406. List(elts=[Num(n=3)],
  407. ctx=Load()),
  408. List(elts=[Num(n=3)],
  409. ctx=Load())],
  410. ctx=Load())])],
  411. nl=True),
  412. Print(dest=None,
  413. values=[Compare(left=Subscript(value=Name(id='l',
  414. ctx=Load()),
  415. slice=Index(value=Num(n=4)),
  416. ctx=Load()),
  417. ops=[Eq()],
  418. comparators=[Num(n=4)])],
  419. nl=True),
  420. Print(dest=None,
  421. values=[Compare(left=Subscript(value=Name(id='l',
  422. ctx=Load()),
  423. slice=Index(value=Num(n=-1)),
  424. ctx=Load()),
  425. ops=[Eq()],
  426. comparators=[Num(n=4)])],
  427. nl=True),
  428. Print(dest=None,
  429. values=[Compare(left=Subscript(value=Name(id='l',
  430. ctx=Load()),
  431. slice=Slice(lower=Num(n=0),
  432. upper=Num(n=3),
  433. step=None),
  434. ctx=Load()),
  435. ops=[Eq(),
  436. Eq(),
  437. Eq()],
  438. comparators=[Subscript(value=Name(id='l',
  439. ctx=Load()),
  440. slice=Slice(lower=None,
  441. upper=Num(n=3),
  442. step=None),
  443. ctx=Load()),
  444. Subscript(value=Name(id='l',
  445. ctx=Load()),
  446. slice=Slice(lower=Name(id='None',
  447. ctx=Load()),
  448. upper=Num(n=3),
  449. step=None),
  450. ctx=Load()),
  451. List(elts=[Num(n=0),
  452. Num(n=1),
  453. Num(n=2)],
  454. ctx=Load())])],
  455. nl=True),
  456. Print(dest=None,
  457. values=[Compare(left=Subscript(value=Name(id='l',
  458. ctx=Load()),
  459. slice=Slice(lower=Num(n=0),
  460. upper=None,
  461. step=None),
  462. ctx=Load()),
  463. ops=[Eq(),
  464. Eq(),
  465. Eq()],
  466. comparators=[Subscript(value=Name(id='l',
  467. ctx=Load()),
  468. slice=Slice(lower=Num(n=0),
  469. upper=Name(id='None',
  470. ctx=Load()),
  471. step=None),
  472. ctx=Load()),
  473. Subscript(value=Name(id='l',
  474. ctx=Load()),
  475. slice=Slice(lower=None,
  476. upper=None,
  477. step=None),
  478. ctx=Load()),
  479. List(elts=[Num(n=0),
  480. Num(n=1),
  481. Num(n=2),
  482. Num(n=3),
  483. Num(n=4)],
  484. ctx=Load())])],
  485. nl=True),
  486. Print(dest=None,
  487. values=[Compare(left=Subscript(value=Name(id='l',
  488. ctx=Load()),
  489. slice=Slice(lower=Num(n=1),
  490. upper=Num(n=3),
  491. step=None),
  492. ctx=Load()),
  493. ops=[Eq()],
  494. comparators=[List(elts=[Num(n=1),
  495. Num(n=2)],
  496. ctx=Load())])],
  497. nl=True),
  498. Print(dest=None,
  499. values=[Compare(left=Subscript(value=Name(id='l',
  500. ctx=Load()),
  501. slice=Slice(lower=Num(n=-1),
  502. upper=Num(n=3),
  503. step=None),
  504. ctx=Load()),
  505. ops=[Eq()],
  506. comparators=[List(elts=[],
  507. ctx=Load())])],
  508. nl=True),
  509. Print(dest=None,
  510. values=[Compare(left=Subscript(value=Name(id='l',
  511. ctx=Load()),
  512. slice=Slice(lower=Num(n=-3),
  513. upper=Num(n=3),
  514. step=None),
  515. ctx=Load()),
  516. ops=[Eq()],
  517. comparators=[List(elts=[Num(n=2)],
  518. ctx=Load())])],
  519. nl=True),
  520. Print(dest=None,
  521. values=[Compare(left=Subscript(value=Name(id='l',
  522. ctx=Load()),
  523. slice=Slice(lower=Num(n=-4),
  524. upper=Num(n=-1),
  525. step=None),
  526. ctx=Load()),
  527. ops=[Eq()],
  528. comparators=[List(elts=[Num(n=1),
  529. Num(n=2),
  530. Num(n=3)],
  531. ctx=Load())])],
  532. nl=True),
  533. Print(dest=None,
  534. values=[Compare(left=Subscript(value=Name(id='l',
  535. ctx=Load()),
  536. slice=Slice(lower=Num(n=0),
  537. upper=Num(n=5),
  538. step=Num(n=1)),
  539. ctx=Load()),
  540. ops=[Eq(),
  541. Eq(),
  542. Eq(),
  543. Eq(),
  544. Eq(),
  545. Eq(),
  546. Eq(),
  547. Eq()],
  548. comparators=[Subscript(value=Name(id='l',
  549. ctx=Load()),
  550. slice=Slice(lower=None,
  551. upper=Num(n=5),
  552. step=Num(n=1)),
  553. ctx=Load()),
  554. Subscript(value=Name(id='l',
  555. ctx=Load()),
  556. slice=Slice(lower=Num(n=0),
  557. upper=None,
  558. step=Num(n=1)),
  559. ctx=Load()),
  560. Subscript(value=Name(id='l',
  561. ctx=Load()),
  562. slice=Slice(lower=Num(n=0),
  563. upper=Num(n=5),
  564. step=Name(id='None',
  565. ctx=Load())),
  566. ctx=Load()),
  567. Subscript(value=Name(id='l',
  568. ctx=Load()),
  569. slice=Slice(lower=Num(n=0),
  570. upper=None,
  571. step=Name(id='None',
  572. ctx=Load())),
  573. ctx=Load()),
  574. Subscript(value=Name(id='l',
  575. ctx=Load()),
  576. slice=Slice(lower=None,
  577. upper=Num(n=5),
  578. step=Name(id='None',
  579. ctx=Load())),
  580. ctx=Load()),
  581. Subscript(value=Name(id='l',
  582. ctx=Load()),
  583. slice=Slice(lower=None,
  584. upper=None,
  585. step=Num(n=1)),
  586. ctx=Load()),
  587. Subscript(value=Name(id='l',
  588. ctx=Load()),
  589. slice=Slice(lower=None,
  590. upper=None,
  591. step=Name(id='None',
  592. ctx=Load())),
  593. ctx=Load()),
  594. List(elts=[Num(n=0),
  595. Num(n=1),
  596. Num(n=2),
  597. Num(n=3),
  598. Num(n=4)],
  599. ctx=Load())])],
  600. nl=True),
  601. Print(dest=None,
  602. values=[Compare(left=Subscript(value=Name(id='l',
  603. ctx=Load()),
  604. slice=Slice(lower=None,
  605. upper=None,
  606. step=Num(n=-1)),
  607. ctx=Load()),
  608. ops=[Eq()],
  609. comparators=[List(elts=[Num(n=4),
  610. Num(n=3),
  611. Num(n=2),
  612. Num(n=1),
  613. Num(n=0)],
  614. ctx=Load())])],
  615. nl=True),
  616. Print(dest=None,
  617. values=[Compare(left=Subscript(value=Name(id='l',
  618. ctx=Load()),
  619. slice=Slice(lower=Num(n=4),
  620. upper=Num(n=2),
  621. step=Num(n=-1)),
  622. ctx=Load()),
  623. ops=[Eq()],
  624. comparators=[List(elts=[Num(n=4),
  625. Num(n=3)],
  626. ctx=Load())])],
  627. nl=True),
  628. Print(dest=None,
  629. values=[Compare(left=Subscript(value=Name(id='l',
  630. ctx=Load()),
  631. slice=Slice(lower=Num(n=-1),
  632. upper=Num(n=2),
  633. step=Num(n=-2)),
  634. ctx=Load()),
  635. ops=[Eq()],
  636. comparators=[List(elts=[Num(n=4)],
  637. ctx=Load())])],
  638. nl=True),
  639. Print(dest=None,
  640. values=[Compare(left=Call(func=Name(id='len',
  641. ctx=Load()),
  642. args=[Name(id='l',
  643. ctx=Load())],
  644. keywords=[],
  645. starargs=None,
  646. kwargs=None),
  647. ops=[Eq()],
  648. comparators=[Num(n=5)])],
  649. nl=True),
  650. Print(dest=None,
  651. values=[Compare(left=Call(func=Name(id='min',
  652. ctx=Load()),
  653. args=[Name(id='l',
  654. ctx=Load())],
  655. keywords=[],
  656. starargs=None,
  657. kwargs=None),
  658. ops=[Eq()],
  659. comparators=[Num(n=0)])],
  660. nl=True),
  661. Print(dest=None,
  662. values=[Compare(left=Call(func=Name(id='max',
  663. ctx=Load()),
  664. args=[Name(id='l',
  665. ctx=Load())],
  666. keywords=[],
  667. starargs=None,
  668. kwargs=None),
  669. ops=[Eq()],
  670. comparators=[Num(n=4)])],
  671. nl=True),
  672. Print(dest=None,
  673. values=[Str(s='\nTUPLES')],
  674. nl=True),
  675. Assign(targets=[Name(id='t',
  676. ctx=Store())],
  677. value=Tuple(elts=[Num(n=0),
  678. Num(n=1),
  679. Num(n=2),
  680. Num(n=3),
  681. Num(n=4)],
  682. ctx=Load())),
  683. Print(dest=None,
  684. values=[Compare(left=Compare(left=Num(n=0),
  685. ops=[In()],
  686. comparators=[Name(id='t',
  687. ctx=Load())]),
  688. ops=[Eq()],
  689. comparators=[Name(id='True',
  690. ctx=Load())])],
  691. nl=True),
  692. Print(dest=None,
  693. values=[Compare(left=Compare(left=Num(n=5),
  694. ops=[In()],
  695. comparators=[Name(id='t',
  696. ctx=Load())]),
  697. ops=[Eq()],
  698. comparators=[Name(id='False',
  699. ctx=Load())])],
  700. nl=True),
  701. Print(dest=None,
  702. values=[Compare(left=Compare(left=Num(n=4),
  703. ops=[NotIn()],
  704. comparators=[Name(id='t',
  705. ctx=Load())]),
  706. ops=[Eq()],
  707. comparators=[Name(id='False',
  708. ctx=Load())])],
  709. nl=True),
  710. Print(dest=None,
  711. values=[Compare(left=Compare(left=Str(s='hello'),
  712. ops=[NotIn()],
  713. comparators=[Name(id='t',
  714. ctx=Load())]),
  715. ops=[Eq()],
  716. comparators=[Name(id='True',
  717. ctx=Load())])],
  718. nl=True),
  719. Print(dest=None,
  720. values=[Compare(left=BinOp(left=Tuple(elts=[Num(n=0),
  721. Num(n=1),
  722. Num(n=2)],
  723. ctx=Load()),
  724. op=Add(),
  725. right=Tuple(elts=[Num(n=3),
  726. Num(n=4)],
  727. ctx=Load())),
  728. ops=[Eq()],
  729. comparators=[Name(id='t',
  730. ctx=Load())])],
  731. nl=True),
  732. Print(dest=None,
  733. values=[Compare(left=BinOp(left=Tuple(elts=[Num(n=0)],
  734. ctx=Load()),
  735. op=Mult(),
  736. right=Num(n=3)),
  737. ops=[Eq()],
  738. comparators=[Tuple(elts=[Num(n=0),
  739. Num(n=0),
  740. Num(n=0)],
  741. ctx=Load())])],
  742. nl=True),
  743. Print(dest=None,
  744. values=[Compare(left=BinOp(left=Num(n=2),
  745. op=Mult(),
  746. right=Tuple(elts=[Num(n=1),
  747. Num(n=2)],
  748. ctx=Load())),
  749. ops=[Eq()],
  750. comparators=[Tuple(elts=[Num(n=1),
  751. Num(n=2),
  752. Num(n=1),
  753. Num(n=2)],
  754. ctx=Load())])],
  755. nl=True),
  756. Print(dest=None,
  757. values=[Compare(left=Subscript(value=Name(id='t',
  758. ctx=Load()),
  759. slice=Index(value=Num(n=4)),
  760. ctx=Load()),
  761. ops=[Eq()],
  762. comparators=[Num(n=4)])],
  763. nl=True),
  764. Print(dest=None,
  765. values=[Compare(left=Subscript(value=Name(id='t',
  766. ctx=Load()),
  767. slice=Index(value=Num(n=-1)),
  768. ctx=Load()),
  769. ops=[Eq()],
  770. comparators=[Num(n=4)])],
  771. nl=True),
  772. Print(dest=None,
  773. values=[Compare(left=Subscript(value=Name(id='t',
  774. ctx=Load()),
  775. slice=Slice(lower=Num(n=0),
  776. upper=Num(n=3),
  777. step=None),
  778. ctx=Load()),
  779. ops=[Eq(),
  780. Eq(),
  781. Eq()],
  782. comparators=[Subscript(value=Name(id='t',
  783. ctx=Load()),
  784. slice=Slice(lower=None,
  785. upper=Num(n=3),
  786. step=None),
  787. ctx=Load()),
  788. Subscript(value=Name(id='t',
  789. ctx=Load()),
  790. slice=Slice(lower=Name(id='None',
  791. ctx=Load()),
  792. upper=Num(n=3),
  793. step=None),
  794. ctx=Load()),
  795. Tuple(elts=[Num(n=0),
  796. Num(n=1),
  797. Num(n=2)],
  798. ctx=Load())])],
  799. nl=True),
  800. Print(dest=None,
  801. values=[Compare(left=Subscript(value=Name(id='t',
  802. ctx=Load()),
  803. slice=Slice(lower=Num(n=0),
  804. upper=None,
  805. step=None),
  806. ctx=Load()),
  807. ops=[Eq(),
  808. Eq(),
  809. Eq()],
  810. comparators=[Subscript(value=Name(id='t',
  811. ctx=Load()),
  812. slice=Slice(lower=Num(n=0),
  813. upper=Name(id='None',
  814. ctx=Load()),
  815. step=None),
  816. ctx=Load()),
  817. Subscript(value=Name(id='t',
  818. ctx=Load()),
  819. slice=Slice(lower=None,
  820. upper=None,
  821. step=None),
  822. ctx=Load()),
  823. Tuple(elts=[Num(n=0),
  824. Num(n=1),
  825. Num(n=2),
  826. Num(n=3),
  827. Num(n=4)],
  828. ctx=Load())])],
  829. nl=True),
  830. Print(dest=None,
  831. values=[Compare(left=Subscript(value=Name(id='t',
  832. ctx=Load()),
  833. slice=Slice(lower=Num(n=1),
  834. upper=Num(n=3),
  835. step=None),
  836. ctx=Load()),
  837. ops=[Eq()],
  838. comparators=[Tuple(elts=[Num(n=1),
  839. Num(n=2)],
  840. ctx=Load())])],
  841. nl=True),
  842. Print(dest=None,
  843. values=[Compare(left=Subscript(value=Name(id='t',
  844. ctx=Load()),
  845. slice=Slice(lower=Num(n=-1),
  846. upper=Num(n=3),
  847. step=None),
  848. ctx=Load()),
  849. ops=[Eq()],
  850. comparators=[Tuple(elts=[],
  851. ctx=Load())])],
  852. nl=True),
  853. Print(dest=None,
  854. values=[Compare(left=Subscript(value=Name(id='t',
  855. ctx=Load()),
  856. slice=Slice(lower=Num(n=-3),
  857. upper=Num(n=3),
  858. step=None),
  859. ctx=Load()),
  860. ops=[Eq()],
  861. comparators=[Tuple(elts=[Num(n=2)],
  862. ctx=Load())])],
  863. nl=True),
  864. Print(dest=None,
  865. values=[Compare(left=Subscript(value=Name(id='t',
  866. ctx=Load()),
  867. slice=Slice(lower=Num(n=-4),
  868. upper=Num(n=-1),
  869. step=None),
  870. ctx=Load()),
  871. ops=[Eq()],
  872. comparators=[Tuple(elts=[Num(n=1),
  873. Num(n=2),
  874. Num(n=3)],
  875. ctx=Load())])],
  876. nl=True),
  877. Print(dest=None,
  878. values=[Compare(left=Subscript(value=Name(id='t',
  879. ctx=Load()),
  880. slice=Slice(lower=Num(n=0),
  881. upper=Num(n=5),
  882. step=Num(n=1)),
  883. ctx=Load()),
  884. ops=[Eq(),
  885. Eq(),
  886. Eq(),
  887. Eq(),
  888. Eq(),
  889. Eq(),
  890. Eq(),
  891. Eq()],
  892. comparators=[Subscript(value=Name(id='t',
  893. ctx=Load()),
  894. slice=Slice(lower=None,
  895. upper=Num(n=5),
  896. step=Num(n=1)),
  897. ctx=Load()),
  898. Subscript(value=Name(id='t',
  899. ctx=Load()),
  900. slice=Slice(lower=Num(n=0),
  901. upper=None,
  902. step=Num(n=1)),
  903. ctx=Load()),
  904. Subscript(value=Name(id='t',
  905. ctx=Load()),
  906. slice=Slice(lower=Num(n=0),
  907. upper=Num(n=5),
  908. step=Name(id='None',
  909. ctx=Load())),
  910. ctx=Load()),
  911. Subscript(value=Name(id='t',
  912. ctx=Load()),
  913. slice=Slice(lower=Num(n=0),
  914. upper=None,
  915. step=Name(id='None',
  916. ctx=Load())),
  917. ctx=Load()),
  918. Subscript(value=Name(id='t',
  919. ctx=Load()),
  920. slice=Slice(lower=None,
  921. upper=Num(n=5),
  922. step=Name(id='None',
  923. ctx=Load())),
  924. ctx=Load()),
  925. Subscript(value=Name(id='t',
  926. ctx=Load()),
  927. slice=Slice(lower=None,
  928. upper=None,
  929. step=Num(n=1)),
  930. ctx=Load()),
  931. Subscript(value=Name(id='t',
  932. ctx=Load()),
  933. slice=Slice(lower=None,
  934. upper=None,
  935. step=Name(id='None',
  936. ctx=Load())),
  937. ctx=Load()),
  938. Tuple(elts=[Num(n=0),
  939. Num(n=1),
  940. Num(n=2),
  941. Num(n=3),
  942. Num(n=4)],
  943. ctx=Load())])],
  944. nl=True),
  945. Print(dest=None,
  946. values=[Compare(left=Subscript(value=Name(id='t',
  947. ctx=Load()),
  948. slice=Slice(lower=None,
  949. upper=None,
  950. step=Num(n=-1)),
  951. ctx=Load()),
  952. ops=[Eq()],
  953. comparators=[Tuple(elts=[Num(n=4),
  954. Num(n=3),
  955. Num(n=2),
  956. Num(n=1),
  957. Num(n=0)],
  958. ctx=Load())])],
  959. nl=True),
  960. Print(dest=None,
  961. values=[Compare(left=Subscript(value=Name(id='t',
  962. ctx=Load()),
  963. slice=Slice(lower=Num(n=4),
  964. upper=Num(n=2),
  965. step=Num(n=-1)),
  966. ctx=Load()),
  967. ops=[Eq()],
  968. comparators=[Tuple(elts=[Num(n=4),
  969. Num(n=3)],
  970. ctx=Load())])],
  971. nl=True),
  972. Print(dest=None,
  973. values=[Compare(left=Subscript(value=Name(id='t',
  974. ctx=Load()),
  975. slice=Slice(lower=Num(n=-1),
  976. upper=Num(n=2),
  977. step=Num(n=-2)),
  978. ctx=Load()),
  979. ops=[Eq()],
  980. comparators=[Tuple(elts=[Num(n=4)],
  981. ctx=Load())])],
  982. nl=True),
  983. Print(dest=None,
  984. values=[Compare(left=Call(func=Name(id='len',
  985. ctx=Load()),
  986. args=[Name(id='t',
  987. ctx=Load())],
  988. keywords=[],
  989. starargs=None,
  990. kwargs=None),
  991. ops=[Eq()],
  992. comparators=[Num(n=5)])],
  993. nl=True),
  994. Print(dest=None,
  995. values=[Compare(left=Call(func=Name(id='min',
  996. ctx=Load()),
  997. args=[Name(id='t',
  998. ctx=Load())],
  999. keywords=[],
  1000. starargs=None,
  1001. kwargs=None),
  1002. ops=[Eq()],
  1003. comparators=[Num(n=0)])],
  1004. nl=True),
  1005. Print(dest=None,
  1006. values=[Compare(left=Call(func=Name(id='max',
  1007. ctx=Load()),
  1008. args=[Name(id='t',
  1009. ctx=Load())],
  1010. keywords=[],
  1011. starargs=None,
  1012. kwargs=None),
  1013. ops=[Eq()],
  1014. comparators=[Num(n=4)])],
  1015. nl=True)])