Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"none"
#1
Hello,
A student has written this

print('Welcome to NerdCards, a program to help you revise your notes and information.')
skip = input('Please type SKIP to skip the introduction or type NO to continue. ')
s = skip.lower()
msg = print('''There are lots of different ways to revise.
            Classic: Type up 10 flashcards and a prompt for each.
            Keywords: Type up ten cards and prompts with five keywords for each.
            True or false: Type up 10 flashcards and prompts and see if the cards match the promts.''')
if s == ('no'):
  print(msg)
playmode = input('Please type which mode you would like to revise in. ')
m = playmode.lower()
if m == ('classic'):
  print('done')
And it returns a "None" which we can't account for - see image.

https://twitter.com/mel_yuan/status/993669032791293952
Reply


Messages In This Thread
"none" - by msyuan - May-08-2018, 01:50 AM
RE: "none" - by gruntfutuk - May-08-2018, 02:57 AM
RE: "none" - by buran - May-08-2018, 03:33 AM
RE: "none" - by msyuan - May-09-2018, 03:56 AM

Forum Jump:

User Panel Messages

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