Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python lex
#1
Cool Cool Cool
1) print ABCD
di = {'AB':1, 2:'AB', 3:'CD'}

print( __________ ,sep='x', end='')

what should i put in space?

2) print 6

di1 = {5:'K', 3:'A', 2:'R', 7:'T', 4:'G', 6:'S'}

di2 = {'GR':'Greece', 'IT':'Italy', 'ES':'Spain'}

print(len(di2[ __________ ]))

what should i put in space?
Reply
#2
Please, use proper tags when post code, traceback, output, etc.
See BBcode help for more info.

As to your questions - what do you think?
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Forum Jump:

User Panel Messages

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